Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List users logged in

Status
Not open for further replies.

emozley

Technical User
Jan 14, 2003
769
GB
Hi,

On my site I use session variables to determine whether a user is logged in or not. Is there a way of listing all users logged in - ie I want to do a "Who's online right now" kind of thing...

Thanks very much

Ed
 
Maybe you could use an array stored in an Application variable.

Add users to the array when they log in, and remove them when they log out. Then add a Session_OnEnd event to your global.asa for the purpose of attempting to catch those that just time out or close the browser without a proper log-out so they can also be removed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top