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

Reply via email to