BUG: ASP.NET Returns a New Session ID For Each Request

  • Thread starter Thread starter Edward Yang
  • Start date Start date
E

Edward Yang

This does not happen frequently, but does happen in rare unkown cases.

For example, at the time I'm writing this post, I'm having this problem
again.

The test page I'm browsing simply displays the SessionID. Each time I
refresh the page, the SessionID gets a new value!!!

The result is that Session state is totally lost when in InProc mode! In
StateServer mode, it simply says that the data cannot be serialized.

Hope Microsoft will hear my voice.

Thanks.
 
What browser are you using. I had a similar problem with IIS making a new
session when I hit refresh but this only happened in Opera.

It might be a problem with your browser.
 
I'm having the same problem. If I run the the app in
Visual Studio it works fine. However, if I run it outside
VS using the URL, the session ID changes on every
postback, and the session state is lost.

If I change the web.config to cookieless=true then I don't
see the problem. How can I check to see if cookies are
disabled? Or is there some IIS setting that causes this?

My OS is Win 2K Server SP4, IE 6 SP1, VS .Net 1.1
 
Back
Top