[Catalyst] Check is session is expired
hitz at genome.stanford.edu
Thu Apr 15 16:59:25 GMT 2010
$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.
On Apr 15, 2010, at 8:33 AM, David wrote:
> 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.
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://firstname.lastname@example.org/
> Dev site: http://dev.catalyst.perl.org/
Senior Scientific Programmer ** Saccharomyces Genome Database ** GO
Stanford University ** hitz at genome.stanford.edu
More information about the Catalyst