[nycphp-talk] Hmm, how to count 'online' users?
Daniel Convissor
danielc at analysisandsolutions.com
Thu Aug 12 11:40:39 EDT 2004
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.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list