Re: Showing all users who are logged in

From: Date: Wed, 28 Jul 2004 00:05:11 +0000
Subject: Re: Showing all users who are logged in
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192048@lists.php.net to get a copy of this message
On Tue, 27 Jul 2004 19:55:49 -0400, Jason Giangrande <jason@giangrande.org> wrote: > Anyone have any suggestions as to the best way to keep track of all > users who are logged in at a given time? I thought of writing them to a > temp text file and them deleting the names from the file when a user > logged out, but I think there has to be a better way. Anyone have any > suggestions? > Save when a user logs in to the DB. Or whenever they access a page. Clear them out after x minutes and no activity. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.general (#192048) next »