[Catalyst] Check session expiry without extending it

Alexander Hartmaier alexander.hartmaier at t-systems.at
Wed Mar 3 15:03:13 GMT 2010

Why not return the datetime when the session expires with every page and
have a client-side js that does the redirect without hammering the

Best regards, Alex

Am Dienstag, den 02.03.2010, 21:43 +0100 schrieb Steve Kleiman:
> 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
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.

More information about the Catalyst mailing list