[PHP] Count concarent logins (newbie)

2002-02-08 Thread Simos

Hello to everyone 

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 

thank you in advance for your help + time

best regards

simos

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Count concarent logins (newbie)

2002-02-08 Thread Dennis Moore


 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