what you want to do is possible.."sort of" just complicated because you can
not loop through the sessions like that
you would basically need to (for each session) store the info in applciation
variables as well
(ideally the less info the better.. like the username and the last time they
accesses anything are about all you should store)
you'd also want to recycle it and only store like 50 or so users at any one
time
then you can grab that info anytime you like from the application variable
AGAIN.. very complicated.. yet so very simple once it is all working..
Very difficult to explain and if done right not a performance/memory
problem.
systems like aspprotect v7 do something liek this to allow you to view
information on who is logged in and also what page they accessed last
I have looked the code over a few times and though I basically see what is
going on it is pretty complicated to grasp
www.aspprotect.com
"Sugapablo" <ru**@REMOVEsugapablo.com> wrote in message
news:pa****************************@REMOVEsugapabl o.com...
When users log into my website, they're given session variables:
Session("userid") = [whatever their name is]
Let's say I have 7 users logged in. Is there a way to somehow loop
through all the sessions and return all the values of Session("userid")
that are open?
Basically, if 7 users are logged in, I want to be able to see which ones
have sessions open.
--
[
]
[ http://www.sugapablo.net <--personal | http://www.sugapablo.com
<--music ]
[ http://www.2ra.org <--political | http://www.subuse.net
<--discuss ]