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

2002-02-13 Thread Antonio Vicente Maturana
]] > Sent: Wednesday, February 13, 2002 8:38 AM > To: 'V'; [EMAIL PROTECTED]; 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 naviga

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

2002-02-13 Thread Rick Emery
e user has left your web-site and decrease the number of users by 1. -Original Message- From: V [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 8:38 AM To: 'V'; [EMAIL PROTECTED]; Rick Emery Subject: RE: [PHP] How can i count the number of users logged in my system

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 o

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 is

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, Februa