Mega Code Archive

 
Categories / ASP.Net Tutorial / Development
 

Application RemoveAll()

<%@ Page Language="vb" %> <html>    <head>       <script runat="server">   Sub Page_Load()      If Application.Count > 0 Then         Application.RemoveAll()         Message.Text = "Application collection cleared."      Else         Message.Text = "Application collection is already empty."      End If   End Sub       </script>    </head> <body>    <asp:label id="Message" runat="server"/> </body> </html>