<%@ Page Language="vb" %>
<html>
<head>
<script runat="server">
Sub Page_Load()
Application.RemoveAll()
Application.Set("TotallyNewVariable","Test!")
myMessage.Text = "First: " + Application("TotallyNewVariable") + "<br/>"
Application.Set("TotallyNewVariable","Test again!")
myMessage.Text = myMessage.Text & "First after Set: " + _
Application("TotallyNewVariable") + "<br/>"
End Sub
</script>
</head>
<body>
<asp:label id="myMessage" runat="server"/>
</body>
</html>
|