Hi Ben, thanks! But I have tested it and, in fact, is $c->session_expires. $c->session->session_expires does not work at all.
David ________________________________ De: Ben Hitz <[email protected]> Para: The elegant MVC web framework <[email protected]> Enviado: jue,15 abril, 2010 18:59 Asunto: Re: [Catalyst] Check is session is expired $c->session->session_expires) returns 0 when the session is expired (and deletes the session). Caveat: I am brand new - never installed the sw, but I was JUST reading this in the docs. Ben On Apr 15, 2010, at 8:33 AM, David wrote: > Hi, > > Is there any method in order to check if user session has expired, so that > user is redirect to login page? > Something like $c->session->is_expired which returns true or false? > > I've checked Catalyst Session Plugin, but I havem't found any method to check > if session has expired. > > David > > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ -- Ben Hitz Senior Scientific Programmer ** Saccharomyces Genome Database ** GO Consortium Stanford University ** [email protected] _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
