NYCPHP Meetup

NYPHP.org

[nycphp-talk] Hmm, how to count 'online' users?

Mitch Pirtle mitchy at spacemonkeylabs.com
Thu Aug 12 11:47:19 EDT 2004


Daniel Convissor wrote:

>Hi Mitch:
>
>Have a table with two columns: group_name and group_count.  Each time 
>someone logs in, update the group_count column with group_count+1 for 
>the appropriate group_name.  When someone logs out, do a -1.
>  
>

And if they don't hit the 'logout' button?

-- Mitch, still trying to grok session expiration notification in PHP




More information about the talk mailing list