Classic ASP FAQ - How to display all Session Variables

How to view or list all the session variables without knowing their names?
<%
for each i in session.contents
response.write("<br>" &  i & " = " & session.contents(i))
next
%>

No comments:

Post a Comment

Post a Comment