Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Session variables lost

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  iis 5.0 and apache 2.0  
Author Message
user1873

External


Since: Jul 05, 2004
Posts: 1



(Msg. 1) Posted: Mon Jul 05, 2004 4:51 am
Post subject: Session variables lost
Archived from groups: microsoft>public>inetserver>iis (more info?)

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...<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Session variables lost 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Mon Jul 05, 2004 11:15 pm
Post subject: Re: Session variables lost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 RemoveThis @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...

 >> Stay informed about: Session variables lost 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]