Session variables lost

From: Cem Arpacı (Arpaci_at_discussions.microsoft.com)
Date: 07/05/04


Date: Mon, 5 Jul 2004 01:51:02 -0700

I write a basic test page "test.asp" as below;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Test</title>
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name=ProgId content=VisualStudio.HTML>
<meta name=Originator content="Microsoft Visual Studio.NET 7.0">
</head>

<body MS_POSITIONING="FlowLayout">
<%
        Response.Write("Session ID = " &Session.SessionID)
%>
</body>
</html>

When browse this page by IE6.0, whenever refresh this page, i see another session ID.
I run IIS6.0 in "IIS 5.0 isolation mode". Can someone help me ? Why my session variables lost every refresh or page changed in same application ?

Thanks for helps...



Relevant Pages

  • Re: Arent session variable preserved using "Header(Location: xxx)"?
    ... "Jerry Stuckle" wrote in message ... <html xmlns="http://www.w3.org/1999/xhtml"</a>;> ... But on the target page I don't get any session variable values! ...
    (comp.lang.php)
  • php login script error
    ... header("Cache-Control: private"); ... //register session variable: 'login' and 'pass' ...
    (comp.lang.php)
  • New to PHP
    ... I am having a problem using session verables. ...
    (comp.lang.php)
  • Re: Session Variables in Firefox
    ... Take a look at the privacy options does it allow sites to set cookies. ... Session variables depend on a session cookie for identification. ...
    (microsoft.public.scripting.vbscript)
  • Re: newbie: css in every page in app
    ... Then I needed to add CSS links to each "head" ... within the html tags. ... code your child to add controls to these containers. ... you get control over both the html head and body. ...
    (microsoft.public.dotnet.framework.aspnet)