Re: tracking users
| From: | Torsten Roehr | Date: | Fri, 14 May 2004 08:45:25 +0000 |
| Subject: | Re: tracking users | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186218@lists.php.net to get a copy of this message | ||
"Alessandro Vitale" <avitale@tiscali.com> wrote in message
news:GMEMJFGPOBMNNAFALACFOEHGCIAA.avitale@tiscali.com...
> Hi all,
>
> I am currently running a web application which has an increasing number of
> users. The application uses PHP sessions. As administrator, I would like
to
> know which users are currently logged in. Any brief suggestion or link to
> some good tutorial/paper would be very much appreciated.
>
> A.
>
If your session container is a database (instead of the standard using local
files) you can easily do a SELECT count(*) to get the number of running
sessions. Otherwise it's a bit more complicated, I guess.
This topic was discussed some days ago on the list. Please search the list
archives:
http://www.phparch.com/mailinglists/
Regards, Torsten