Re: who is connected?
| From: | fragmonster | Date: | Wed, 18 Dec 2002 09:25:08 +0000 |
| Subject: | Re: who is connected? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128667@lists.php.net to get a copy of this message | ||
Ok, it's exactly the same way I'm using. I was wondering if it was another way to do the trick.
Jason Reid wrote:
How I do it for my sites is borrowing from the concept that phpBB uses... every time a user accesses a page within the site, update the DB with the username and a timestamp. then have the script that figures out who is on delete any records older then a specified time, and return the users that are left. it doesn't display everyone who is on in real time, but any one who was on within a certain period (usually I stick with 5 minutes) If any one else has any interesting/creative ways, I'd love to hear them also. Jason Reid jason@achost.ca -- AC Host Canada www.achost.ca ----- Original Message ----- From: "fragmonster" <frederic@argyro.net> To: <php-general@lists.php.net> Sent: Wednesday, December 18, 2002 1:05 AM Subject: [PHP] who is connected?Hello, Can you share your method to display the users who are connected to your web site? I did it, but I don't know if it's a good way. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php