1 <%@ Page Language="c#" AutoEventWireup="false" Codebehind="HttpSessionState_IsNewSession2.aspx.cs" Inherits="GHTTests.System_Web_dll.System_Web_SessionState.HttpSessionState_IsNewSession2" %>
2 <%@ Register TagPrefix="cc1" Namespace="GHTWebControls" Assembly="MainsoftWebApp" %>
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
6 <title>HttpSessionState_IsNewSession2</title>
7 <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
8 <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
9 <meta content="JavaScript" name="vs_defaultClientScript">
10 <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
11 <script LANGUAGE="JavaScript">
15 if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
16 theform = document.forms["Form1"];
19 theform = document.Form1;
25 <FORM id="Form1" method="post" runat="server">
26 By pressing "<STRONG>browser refresh</STRONG>" button, session state should
27 leave <STRONG>true.<BR>
28 </STRONG>Because Session object was untouched and therefore was not saved.</FORM>