RE: [PHP] How can i count the number of users logged in my system

From: Date: Wed, 13 Feb 2002 14:42:05 +0000
Subject: RE: [PHP] How can i count the number of users logged in my system
Groups: php.general 
Request: Send a blank email to php-general+get-84576@lists.php.net to get a copy of this message
I don't know if there is a method to tracke active sessions on the server, other than the method I suggest. The problem I mention is that when a user is in your web site (having logged in) but does not log-out. That is, the user simply types in another web-site outside of your site or selects a new web-site from the Favorites or Bookmarks list in the browser. Your app would not know that the user left. Somebody else previously suggested tracking the last time a user changed pages within your web-site; if a uses hasn't changed pages within the last 10 minutes, then assume the user has left your web-site and decrease the number of users by 1. -----Original Message----- From: V [mailto:avmaturana@quarkinside.com] Sent: Wednesday, February 13, 2002 8:38 AM To: 'V'; php-general@lists.php.net; Rick Emery Subject: RE: [PHP] How can i count the number of users logged in my system Ok, but i'm using sessions. My users log in the system, there is no anonymous navigation. So i was thinking something about tracking the number of active sessions. I don't know how to do that. ¿Any ideas?. Thanks On 12/Feb/2002 09:22:40, Rick Emery wrote: > Store the user count to a database or file. Increment when new user enters; > decrement when user logs out. If user does not log out and simply types a > new URL into the address line, then you have another problem. > > -----Original Message----- > From: V [<A HREF="mailto:avmaturana@quarkinside.com">mailto:avmaturana@quarkinside..com</ A>] > Sent: Tuesday, February 12, 2002 9:16 AM > To: php-general@lists.php.net > Subject: [PHP] How can i count the number of users logged in my system > > > I'm developing a site where many users can log in. > I want to know how many users are using the system simoultaneously, and > display it in a document so the users can see it. > ¿How can i do that? > Thanks > > Salu2, Salu2, V _______________________________________________________ Powered by Sambar Webmail - http://www.sambar.com) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#84576) next »