Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Listing Active CGI::Sessionsby davido (Cardinal) |
on Sep 05, 2004 at 15:35 UTC ( [id://388621]=note: print w/replies, xml ) | Need Help?? |
Just keep track of session ID's. You can do this by storing session ID and its accompanying session info in your DB. Any time a session is running, just re-check to see if any of the times in the DB have expired. Then it's just a matter of counting up how many haven't expired yet. For session key and expiration information, have a look at the POD for CGI::Session. Dave
In Section
Seekers of Perl Wisdom
|
|