Lose changed data in session

Posted by user150528 on Stack Overflow See other posts from Stack Overflow or by user150528
Published on 2010-03-09T18:52:55Z Indexed on 2010/04/14 19:03 UTC
Read the original article Hit count: 348

Filed under:
|

Our asp.net 2.0 application has a very long process (synchronized) before sending response back to client. I observed that a second request, exactly same the initial one, was sent after client IE8 waited response for a long period of time while our application was still processing the first request.

I use page session with predefined key to store a flag when the initial request arrives and then starts long process while client IE waits for the response, so if second request comes in, our application checks the session value. After our application sets the session flag and starts processing, I use Fiddler “Abort Session” to abort the initial request, right away the second request (same as the first one) is sent automatically, but session value set earlier seems no longer exist.

Any thoughts?

© Stack Overflow or respective owner

Related posts about session

Related posts about ASP.NET