RE: [phplib] How can I count the number of online users? From: Brian Popp (bpopp <email protected>)
Date: 03/14/01

Right. More than that though, you would probably want to grab only records
that were 'changed' in the last.. oh.. 3 minutes or so. Depending on the
general activity of your site you might want to go up or down with that
criteria.

-----Original Message-----
From: Horatio B. Bogbindero [mailto:wyy <email protected>]
Sent: Wednesday, March 14, 2001 5:31 AM
To: hhd99 <email protected>
Cc: phplib <email protected>
Subject: Re: [phplib] How can I count the number of online users?

> as the title.
> could anyone reply to me . Thanks

do a query on the active_session table and count the number of rows.
 
--------------------------------------
William Emmanuel S. Yu
Ateneo Cervini-Eliazo Networks (ACENT)
email : william.s.yu <email protected>
web : http://cersa.admu.edu.ph/
phone : 63(2)4266001-5925/5904
 
... though his invention worked superbly -- his theory was a crock of sewage
from beginning to end.
                -- Vernor Vinge, "The Peace War"
 

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>