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

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.
 
T

Tomasz Kaszuba

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.
 
C

Chris Cummings

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top