This jaust what I wanted to say... but while reading this I got to question:
Is it possible to count active sessions, if the one uses php's sessions
without writing any handler functions, just what php4 provides by default?

> >I have a site with logins, etc.  I was wondering if there's any way to
> >how many users are logged in.  I know I could change a database and add
> >to a number when a user logs in, and subtract one when they log off, but
> >what if they just go to another site or close their browser?
> I use database managed sessions and count the number of "active"
> sessions, like how many sessions have had activity in the last 5 minutes
> or so.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to