Re: Session variables lost

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 07/06/04


Date: Mon, 5 Jul 2004 20:15:29 -0700

ASP sessions are maintained by cookies. If the browser is not returning
cookies, you cannot maintain sessions.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Cem Arpaci" <Cem Arpaci@discussions.microsoft.com> wrote in message
news:44E8C15D-2D31-4C9E-ADE3-5FF1E2CFF88D@microsoft.com...
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: Web server Cluster and SESSION.
    ... You can use both cookies and cookieless sessions. ... I doubt cookies has the hassle of sessions in a web cluster. ... Posted Via Usenet.com Premium Usenet Newsgroup Services ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IE DOES NOT SUPPORT COOKIE on WIN2K and XP
    ... Does outputs Session Testing and Cookie Testing where as shot #2 does output ... Why do IE behaves strangely on handling cookies and sessions? ... > Is there any other programmable browsers available like IE? ...
    (microsoft.public.inetserver.asp.general)
  • RE: Application level IDS?
    ... monitors html, web sessions, cookies, SQL traffic and is capable of ... Subject: Application level IDS? ... world's premier technical IT security event! ...
    (Focus-IDS)
  • Re: Sessions not retained in Firefox/Safari
    ... by default session support requires cookies (you must not haver cookies off ... in IE, chck the zone, and be sure cookies are disabled for that zone). ... > I'm using several Sessions in my app. ... How can I step through code using non-IE browsers? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Re: global.asa equivalent?
    ... > Session variables are not stored in cookies, ... > as ASP. ... Did not know about sessions, ... cookies or via url tags that php would automatically add. ...
    (alt.php)