With non-hybrid url strategy using back button will fail with
PageExpiredException because there is no session where to find the
page instance and the disk store already cleaned all data for this
expired session.

On Tue, Apr 26, 2011 at 3:35 AM, Pedro Santos <pedros...@gmail.com> wrote:
> Tracking the last visited page with a cookie would do the trick, but IMO the
> browser back button is enough. You can even use it with some JavaScript and
> move the user back to the last page.
>
> On Mon, Apr 25, 2011 at 4:51 AM, Peter Karich <peat...@yahoo.de> wrote:
>
>>  Hi there,
>>
>> is it possible to grab the parameters (and the path) of the url and
>> redirect the
>> user automatically back to that page if he hits a session timeout?
>>
>> At the moment I'm using in my app.init() method
>>
>> getApplicationSettings().setPageExpiredErrorPage(SessionTimeout.class);
>>
>> and
>>
>> public SessionTimeout(final PageParameters oldParams) {
>>     setResponsePage(HomePage.class, oldParams);
>> }
>>
>> But the oldParams variable does not contain the parameters the user had
>> when he hits the session timeout.
>>
>> Or do I need to store that in a separate cookie?
>>
>> Regards,
>> Peter.
>>
>> --
>> http://jetwick.com open twitter search
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> Pedro Henrique Oliveira dos Santos
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to