Re: How to count & check # of user connected
| From: | P Lok | Date: | Mon, 24 Mar 2003 13:08:12 +0000 |
| Subject: | Re: How to count & check # of user connected | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140845@lists.php.net to get a copy of this message | ||
Thanks!
Could u pls tell me where can I find the said topic?
Is the record in db still valid if the user has disconnected?
rgds
./pl
"Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message
news:3E7EF8EB.2050800@webglobe.sk...
> This has been discussed before. It depends on what kind of
> authentication you use. Sessions are great for this, but you need to use
> your own session save handler, save sessions to sql db, and then use
> select count(*)
>
> P Lok wrote:
>
> >Does anyone know how to count & check # of user logged on (and not logged
off) using PHP?
> >Should I use session?
> >
> >best regards
> >./pl
> >
> >
> >
>