When you are writing an ASP application, this little code sample will display all your active session variables for you. Keep it open in its own window, run your ASP page, then hit refresh to see what's happening to the session variables.
<%@ Language=VBScript %>
<%
on error resume next
for x = 0 to session.Contents.Count-1
Response.Write "<nobr><pre><b>"
Response.write session.Contents.key(x) & " - </b>"
Response.write session.Contents.item(x) & "</nobr><p><br>"
next
%>
Submitted by Ian Vink