Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE6 and IIS4 Session variables
Message
 
To
10/01/2002 08:21:40
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00602922
Message ID:
00602928
Views:
26
>I am noticing a strange phenomenon with IE6 viewing asp pages run on IIS4. I have a session variable created in the global.asa in the session_onstart() sub. I can assign a value to the variable in the global.asa:
>Session("strMyVar") = "somevalue". When I change that value on a page and then response.write immediately after to see the value, all is well. If I move to another page on the same site via a redirect or even a link, the value in the session variable reverts to the original value assigned in the global.asa. I am at a loss to figure this out. Any suggestions? Thanks in advance!
>
>Paul

Just a guess :

Your URL has some original value, like www.MyURL;
Now when your links or redirect contain www.myurl (watch the capitals), IMO this will be seen as another Session in the server i.e. another Session is created. Without authentication you won't be noitified about this, but with ... you'd have to login again.
The SessionVariables obviously are scoped to the Session the server holds for the connection.

HTH,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform