> > in A web site where logins are managed with php sesions > is it possible to count how many concurent users are loged in ?? > > I believe that one way is to keep in a mysql table every login > user but how can i delete a "loged-in" record when user session > terminates abnormal >
If you use the database, you many have to delete the session after a timeout period. Of course that means you you need to update the session table everytime a page is opened.. /dkm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php