The Contents collection contains all application variables. You can loop through the Contents collection, to see what's stored in it:
<%
dim i
For Each i in Application.Contents
Response.Write(i & "<br>")
Next
%>
dim i
For Each i in Application.Contents
Response.Write(i & "<br>")
Next
%>
If you do not know the number of items in the Contents collection, you can use the Count property:
<%
dim i
dim j
j=Application.Contents.Count
For i=1 to j
Response.Write(Application.Contents(i) & "<br>")
Next
%>
dim i
dim j
j=Application.Contents.Count
For i=1 to j
Response.Write(Application.Contents(i) & "<br>")
Next
%>
Practice Excercise Practice now