Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: CGI::Session - expiry

by 2ants (Initiate)
on Mar 16, 2010 at 18:30 UTC ( [id://828993]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI::Session - expiry
in thread CGI::Session - expiry

Thanks a lot, that's the statement I was looking for.

I didn't have a problem knowing my session was expiring, but I could not find a statement anywhere saying how activity was recognised.

I suppose I was half-expecting load() to re-set the expiry time itself, but I guess this way you have more flexibility around it.

Replies are listed 'Best First'.
Re^3: CGI::Session - expiry
by Anonymous Monk on Mar 16, 2010 at 21:50 UTC
    What are you two talking about? If you load the session before it expires, the timer does gets re-set, like I already showed.
    set exire to 3 seconds one second later CGI::Session=HASH(0xa965fc) / cf27e3ec9ff5a06a5bef449 +1e830c8b6 load one second later CGI::Session=HASH(0x97a164) / cf27e3ec9ff5a06a5bef449 +1e830c8b6 load one second later CGI::Session=HASH(0xbef68c) / cf27e3ec9ff5a06a5bef449 +1e830c8b6 load one second later CGI::Session=HASH(0xbef56c) / cf27e3ec9ff5a06a5bef449 +1e830c8b6 load two seconds later var=value two seconds later var=value two seconds later var=value two seconds later var=value three seconds later CGI::Session=HASH(0xa965ec) / cf27e3ec9ff5a06a5be +f4491e830c8b6 is_expired

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found