Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Remarks: ASP Session Object Contents Collection

An iterating control structure can be used to loop through the keys of the Contents collection. This is demonstrated in the following example.

<%
Dim sessitem
For Each sessitem in Session.Contents
  Response.write(sessitem & " : " & Session.Contents(sessitem) & "<BR>")
Next 
%>


ContentsPreviousNextIndex