Mega Code Archive

 
Categories / ASP.Net / Session Cookie
 

For Each Key in Application Keys (VB net)

<%@ Page Language="vb" %> <html>    <head>       <script runat="server">          Sub Page_Load()      Dim Key As String      Message.Text = "Application Keys:"      For Each Key in Application.Keys         Message.Text &= "<br/>Key:&nbsp;&nbsp;&nbsp;" & Key         Message.Text &= "<br/>Value:&nbsp;&nbsp;&nbsp;" & Application(Key)      Next          End Sub       </script>    </head> <body>    <asp:label id="Message" runat="server"/> </body> </html>