<%@ Page Language="vb" %>
<html>
<head>
<script runat="server">
Sub Page_Load()
Application.RemoveAll()
Application("GetKeyTest") = "Got it!"
Message.Text = "Key of Application(0) = " & Application.GetKey(0) & _
"<br/>(Should be GetKeyTest)"
End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>
|