There's more than one way to do things | |
PerlMonks |
Re: Refining my use of CGI::Sessionby antirice (Priest) |
on Nov 20, 2005 at 00:52 UTC ( [id://510174]=note: print w/replies, xml ) | Need Help?? |
is_expired only exists in the 4.x branch, specifically since 4.00_01. There is an _is_expired in the 3.9x branch, however, you're unlikely to ever have a case where you'd use it since 3.9x creates a new, empty session for you if an expired one was already found. You can check for this condition with is_new. Note, if you want to get a session and guard against the recreation of the session, use load in the 4.x branch.
In Section
Seekers of Perl Wisdom
|
|