home *** CD-ROM | disk | FTP | other *** search
ASP.NET Web Form | 2002-03-18 | 1.2 KB | 25 lines |
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="CustomSessionForm.aspx.vb" Inherits="AspnetApplications.CustomSessionForm" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title>CustomSessionForm</title>
- <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
- <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- </HEAD>
- <body>
- <form id="Form1" method="post" runat="server">
- <H1>Custom Session Demo</H1>
- <P>This page demonstrates how custom persistem XML-based Sessions work. To see the
- effect you must edit the Global.asax file to enable custom Sessions. Then you
- should display this page and will check that any time you refresh it the
- counter is incremented. Because the custom sessions are persistent, you can
- close and then reopen the browser window, and the previous value will be
- retained correctly.</P>
- <P>
- <asp:Label id="lblCounter" runat="server">Label</asp:Label></P>
- </form>
- </body>
- </HTML>
-