Mega Code Archive

 
Categories / ASP.Net / Session Cookie
 

Add new name value pair to the Application (VB net)

<%@ Page Language="vb" %> <html>    <head>       <script runat="server">          Sub Page_Load()       Application.Add("Added", "AddedValue")       Message.Text = Application("added")          End Sub       </script>    </head> <body>    <asp:label id="Message" runat="server"/> </body> </html>