Thursday, February 3, 2011

How to Get a List of the Current Sessions


I usually create an ASP called Sessionlist.asp for those times when I can’t remember exactly what sessions are available, or the spellings, etc….there’s not much code to it, but here it is:

for each x in session.contents
    response.Write x & ": " & session(x) & "<br>"
next

No comments :

Post a Comment