When they log in, set their user ID to an application structure along with the time of the last page they accessed. Then just do a count on that structure. This'll tell you how many people are on, who a specific user is and when they last accessed a page. It takes a little setup and there is some overhead to writing to the application structure on every page, but the ability to know who and how many are on is usually worth it.
Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ----- Original Message ----- From: "Ernie Pena" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 1:28 PM Subject: listing users that are logged in on a forum > How can I do this I know I can list via sessions how many people I have on a > web site, but what I want to do is list the users that are logged in say > with in the last 20min if not real time. > > Thanks in advanced > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

