Helpful Information
 
 
Category: ASP
Getting the Session ID...

I have a site that I have users and passwords assigned - I want to be able to have a user listing with users online/offline etc. Something that would accurately tell me who is logged on and when...

Would this be done with a database?

I looked at this site and it looks as if at the start of every "session" it tracks the session ID...

How can I get the Session ID from the web server using ASP..?

Is it:
<%
theID = Session.SessionID
%>

Would that be the right code?

Thanks for your help - if this post seems a little unclear, I'm sorry.. I don't know if I even understand it

P.S. - I'm not asking for the code - just tips on the best way to do this... (Using a combo of ASP and cookies???)

~Quack

http://www.w3schools.com/asp/asp_ref_session.asp

A little reference material, I hope helps out.

Yeah, that page has a lot of info on it.

Thanks!

~Quack

Actually, you can find an example of this, who's online right now (I believe on w3schools.com even!) if you look at the global.asa file and APPLICATION (not session) variables.

:)

thanks whammy, the example (I think) is what I want...

hopefully it'll work out for me :)

~Quack










privacy (GDPR)