Re: Tracking online users

From: Date: Sat, 10 May 2003 01:34:00 +0000
Subject: Re: Tracking online users
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-19847@lists.php.net to get a copy of this message
If you don't want a burden on the server you can always try a db record or if you have write permissions a file with just a number of logged in users. Increment on login, decrement on logout. If you're using sessions you can find a way to count the session files (If they're being properly removed) but that's probably a greater burden then the SELECT COUNT idea. Guru P Chaturvedi wrote:
Hi, Well though this way is ok but it doesn't workout, as it puts more burdon on the server. "B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message news:FC36BC0A298F59448477C5D7E1EDAD84DEF1DB@mail1.lumc.nl...
Register the users in a database, and then perform typical a SELECT COUNT(*) ... whenever you need to get the info. -----Original Message----- From: Guru P Chaturvedi To: php-windows@lists.php.net Sent: 9-5-03 21:07 Subject: [PHP-WIN] Tracking online users Hi, i want to show the total number of users logged in [http session] to the site at any point of time. How can this be done. What are the methods i need to make use of to accomplish this. kindly help me out in this regard. with Warm Regards, Guru. --------------------------------------- Phone: (+91)9845290270 URL: www.gangarasa.com Yahoo IM: guru4vedi MSN: guru4vedi@gangarasa.com ---------------------------------------


« previous php.windows (#19847) next »