I posted earlier about this, I have an application and a sequence of
activities will cause the session to restart. My code will go to
session_start right after I execute a Response.Redirect(mypage) in
order to reload the page. I use this statement in other parts of the
code and it doesnt cause this. It is not a session.abandon statement,
or a timeout. Someone here suggested that the server recycling can
cause the session to restart, but I dont have anything in my event log
saying there was a recycle. This problem happens whether I use inproc
or stateserver session models.
What I found interesting, and this is new from my earlier post, is that
this problem with the unexplained session restart happens only on IE6.
I have tried the same thing on Opera and Firefox and it works
beautifully, no session restart happens. What I am wondering here is
how can the browser affect the session? Doesnt the session live in the
server, not understanding how this would make a difference.
Any ideas
Marina Levit [MVP] - 23 Jun 2006 20:09 GMT
The session does live on the server. However, the session cookie is on the
client - and the browser sends this up on every requests. I haven't
experienced what you are describing, but perhaps the session cookie is
getting lost somehow on the redirect.
>I posted earlier about this, I have an application and a sequence of
> activities will cause the session to restart. My code will go to
[quoted text clipped - 14 lines]
>
> Any ideas
Robbe Morris [C# MVP] - 26 Jun 2006 01:55 GMT
Some ISPs and corporate networks route their outgoing traffic
through proxy server farms. This can result in
session cookies getting reset because the
server thinks you are a new session from a
different ip.
You don't say much about the environment
you are experiencing this with. So, I'm
just throwing this out there for consideration.

Signature
Robbe Morris - 2004-2006 Microsoft MVP C#
Earn money answering .NET questions
http://www.eggheadcafe.com/forums/merit.asp
>I posted earlier about this, I have an application and a sequence of
> activities will cause the session to restart. My code will go to
[quoted text clipped - 14 lines]
>
> Any ideas
HLady - 26 Jun 2006 16:26 GMT
Thanks for your suggestion, but this problem happens to my application
even when I am running the application locally on my machine as
localhost,
Another interesting thing is that the "session_end" method never runs,
I only get session_start method running again. This is when running
inproc session model, I know session_end doesnt run when using
stateserver, but should when running inproc. I get a different
sessionid too.
> Some ISPs and corporate networks route their outgoing traffic
> through proxy server farms. This can result in
[quoted text clipped - 29 lines]
> >
> > Any ideas