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

2002-02-13 Thread V
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

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

2002-02-13 Thread Rick Emery
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

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

2002-02-13 Thread Antonio Vicente Maturana
Ok, thanks On 13/Feb/2002 08:42:05, Rick Emery wrote: 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

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

2002-02-12 Thread Rick Emery
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 [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

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

2002-02-12 Thread John S. Huggins
Create a user activity table which stores the time when the user does anything. Then query it with a GROUP BY user syntax and constrain the records to only those after, say, an hour ago if you think that users doing something during the last hour means they are in there doing something. This