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


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>