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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.