<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
Dim I as Integer
lblMessage.Text = "All Application variables:<BR>"
For I = 0 to Application.Count - 1
lblMessage.Text = lblMessage.Text _
& Application.GetKey(I) & ": " _
& Application(I) & "<BR>"
Next
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Application Variables</TITLE>
</HEAD>
<form runat="server">
<asp:label
id="lblMessage"
font-size="12pt"
font-name="Tahoma"
runat="server"
text="Please provide your name."
/>
</form>
</BODY>
</HTML>
|