Re: Count concarent logins (newbie)
| From: | Dennis Moore | Date: | Fri, 08 Feb 2002 17:58:22 +0000 |
| Subject: | Re: Count concarent logins (newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84020@lists.php.net to get a copy of this message | ||
>
> 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