throw a RedirectException ?

You could optionally also probably remove items from their browser
history via javaxscript (I think? ) , but the redirect is probably
easiest.

On 11/29/06, Mats Henricson <[EMAIL PROTECTED]> wrote:
This may be elementary, but we have two cases where we don't want our users
to be
able to use the browsers back button:

1. After a submit of a form, when we've sent them to a new page saying "Your
blah blah
   blah has been submitted successfully". Allowing users to go back and
submitting
   again, would be bad for us.
2. After a logout. We don't want our users to be able to use the back button
to see the
   last page, from which he clicked the "Log out" link. We know that going
somewhere
   from that brought back page would lead the user to the login page, but
none the less,
   it would be bad enough, especially if it is done from a public terminal.

Can both cases be solved in the same way? How do you normally solve problems
like
this in Tapestry?

Mats




--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to