Mega Code Archive

 
Categories / ASP.Net / Session Cookie
 

Give a Application a new value (VB net)

<%@ Page Language="vb" %> <html>    <head>       <script runat="server">   Sub Page_Load()      Application("GetTest") = "Got it!"         Message.Text = "GetTest = " & Application.Get("GetTest")   End Sub       </script>    </head> <body>    <asp:label id="Message" runat="server"/> </body> </html>