We can not deny to the users to use back button. So that is why we need to 
handle this situation in a some way.
________________________________________
From: Richard Frovarp [[email protected]]
Sent: Friday, July 24, 2009 1:24 PM
To: [email protected]
Subject: Re: back button + continuation id problem

Oleg Barmin wrote:
> Scenario:
> 1) Log in.
> 2) Press back button in the browser.
> 3) Try log in again.
>
>
> How to handle this situation? I am thinking about something like expiration 
> page. Is this correct?
>
> Best regards,
> Oleg Barmin.
>

Don't hit the back button. Most any work inside of Lenya (or most web
applications) does not respond well to use of the back button.

What's going on is there is a one time use id (the continuation) that is
associated with the form. You submit the form and that one time use id
is used up. Hitting back results in the browser showing the form without
a valid continuation id. Since back typically pulls from the cache,
there is nothing that can be done to cause a new continuation to be
generated for the form. A reload from the server will provide a new
continuation.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to