RE: [PHP] who is on the page?
| From: | Dan Rossi | Date: | Sun, 23 Mar 2003 19:23:43 +0000 |
| Subject: | RE: [PHP] who is on the page? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140775@lists.php.net to get a copy of this message | ||
oh silly me you might need also an on/off flag , but need a way to determine
when they close the connection
-----Original Message-----
From: Oliver Witt [mailto:oliverwitt@t-online.de]
Sent: Monday, March 24, 2003 6:24 AM
To: php-general@lists.php.net
Subject: [PHP] who is on the page?
Hi everybody,
I've been looking for a script to determine who is on my page (people
have to log in). So far, I've been using a script that updates the time
in the database continuously as long as the person is on the page. That
way, the script could determine whether the user is still online or not.
However, this script has way too many queries and uses too much server
resources. Is there anything else? I'm wondering if the
connection_status() function would help in any way...
thx,
Olli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php