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