Re: Specific redirect after session timeout

2011-04-26 Thread Peter Karich
ah, ok. I'll try that url strategy change :) Regards, Peter. -- http://jetwick.com open twitter search 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

Specific redirect after session timeout

2011-04-25 Thread Peter Karich
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

Re: Specific redirect after session timeout

2011-04-25 Thread Clint Checketts
Have you tried a HybridUrlEncodingStrategy? That one is pretty resilient to session restarts. -Clint On Mon, Apr 25, 2011 at 2: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

Re: Specific redirect after session timeout

2011-04-25 Thread Pedro Santos
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

Re: Specific redirect after session timeout

2011-04-25 Thread Martin Grigorov
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