Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: CGI::Session Question

by Anonymous Monk
on Sep 30, 2010 at 21:04 UTC ( [id://862853]=note: print w/replies, xml ) Need Help??


in reply to CGI::Session Question

automatically cleans things up and unlinks the session file in the tmp directory

expiration is only checked when you load a session. If you never load a session, the data will hang around in your store forever (file will hang around forever). To remove expired sessions from disk use

CGI::Session->find( sub {} );
See also CGI::Session::ExpireSessions

Replies are listed 'Best First'.
Re^2: CGI::Session Question
by Perobl (Beadle) on Oct 01, 2010 at 16:55 UTC

    Thanks!

    I wasn't aware of this functionality:

    CGI::Session -> find( sub{} );

    This is exactly what I was looking for.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://862853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found