home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / 24 aspnet applications / aspnetapplications / customsessionform.aspx < prev    next >
Encoding:
ASP.NET Web Form  |  2002-03-18  |  1.2 KB  |  25 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="CustomSessionForm.aspx.vb" Inherits="AspnetApplications.CustomSessionForm" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>CustomSessionForm</title>
  6.         <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
  7.         <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
  8.         <meta name="vs_defaultClientScript" content="JavaScript">
  9.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server">
  13.             <H1>Custom Session Demo</H1>
  14.             <P>This page demonstrates how custom persistem XML-based Sessions work. To see the 
  15.                 effect you must edit the Global.asax file to enable custom Sessions. Then you 
  16.                 should display this page and will check that any time you refresh it the 
  17.                 counter is incremented. Because the custom sessions are persistent, you can 
  18.                 close and then reopen the browser window, and the previous value will be 
  19.                 retained correctly.</P>
  20.             <P>
  21.                 <asp:Label id="lblCounter" runat="server">Label</asp:Label></P>
  22.         </form>
  23.     </body>
  24. </HTML>
  25.