[Catalyst] Check session expiry without extending it
Steve Kleiman
steve at prodhub.com
Tue Mar 2 20:43:45 GMT 2010
Using Catalyst::Plugin::Session with Session::State::Cookie.
Would like to be able to poll server if the user's session has expired WITHOUT extending the session itself.
The objective is to have a javascript periodical executor check if a session is expired and redirect user to a "Your session has expired" page if appropriate. Could do it in javascript but would prefer doing it on server.
Anyone tried this?
Thanks in advance.
-Steve Kleiman
More information about the Catalyst
mailing list