Yea, but if it's in the DB, then you also need a cookie for auto-login,
because if they aren't logged in, how will you tie them to the row in the
DB?  And if their session is expired, they won't be logged in.

--
Jeremy Thomerson
http://www.wickettraining.com



On Tue, May 4, 2010 at 3:01 AM, Zilvinas Vilutis <cika...@gmail.com> wrote:

> I've added an ajax timer so session timeout never happens on an open
> browser.
>
> Or you can always store your user state in the DB if you want, e.g.
> the URL visited.
>
> Žilvinas Vilutis
>
> Mobile:   (+370) 652 38353
> E-mail:   cika...@gmail.com
>
>
>
> On Mon, May 3, 2010 at 4:59 PM, Tony Wu <e90t...@gmail.com> wrote:
> > I have an application where on session timeout, I want to redirect to
> > different pages based on what their last visited page was. Currently my
> app
> > only redirects to the same page all the time through
> > getApplicationSettings().setPageExpiredErrorPage(LoginPage.class). Is
> there
> > any way to capture the prior page and redirect them accordingly?
> >
> > Thanks,
> > Tony
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to