Re: online detection
| From: | andreas dot landmark at noxtension dot com | Date: | Wed, 11 Apr 2001 11:31:38 +0000 |
| Subject: | Re: online detection | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48143@lists.php.net to get a copy of this message | ||
On Wed, Apr 11, 2001 at 08:10:22AM +0200, mailing_list@gmx.at produced this golden nugget:
> > Does anyone know how to detect when a user connects to the Internet
> > similar
> > to ICQ?
>
> I think you mean messages on pages like "321 user online"!
> As HTTP is a stateless protocol, you can't really know this!!!
> It's only an estimation - and you can use sessions to realize this (ask how
> many sessions are active - and end a session after a short time like 5
> minutes!)
>
> witty
There is a way to do it, _if_ the user is using an IM service, for
icq the easiest way would prolly be to use the icq module for
perl (i don't know whether there is a PHP class for icq), and then
use that to generate your page...
Mirabilis has made it possible to have the little "online" icon
if you like... check out their site for more info...
I dunno whether this is possible for AIM/etc...
--
andreas.landmark