go ahead... be a heretic | |
PerlMonks |
Re: Tracking user exitsby puck (Scribe) |
on Sep 06, 2000 at 09:10 UTC ( [id://31211]=note: print w/replies, xml ) | Need Help?? |
How about everytime a user loads a page it updates that users "active" file. If a users "active" file hasn't been updated for x minutes expire it. The expiration can either be a cronjob which runs every 5 or so minutes or part of the code which generates the list of "active users".
That's how I'd do it... However, there may be better ways to do it. This is something which I might consider adding to a system I'm going to start working on RSN.
In Section
Seekers of Perl Wisdom
|
|