"Alessandro Vitale" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php