Product Home Page | Developer Site | Version | |
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
%>
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.