Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl: the Markov chain saw
 
PerlMonks  

Re: Refining my use of CGI::Session

by antirice (Priest)
on Nov 19, 2005 at 19:52 UTC ( [id://510174]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Refining my use of CGI::Session

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://510174]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.