molmon
asked on
How to avoid this error: Session state has created a session id, but cannot save...
In our VB/ASP web application, we have a sub-app (separate application in Website) that runs as a .net 1.1 web application with many aspx pages. We also have another sub-app that runs as a .net 2.0 web application, but it uses a separate application pool. This normally works fine, but on an upgrade to the web application I'm getting this error when I try to start up the 'eService' (.net 1.1 application):
"Session state has created a session id, but cannot save it because the response was already flushed by the application". Here is the remainder of the detail:
[HttpException (0x80004005): Session state has created a session id, but cannot save it because the response was already flushed by the application.]
System.Web.SessionState.Se ssionIDMan ager.SaveS essionID(H ttpContext context, String id, Boolean& redirected, Boolean& cookieAdded) +621
System.Web.SessionState.Se ssionState Module.Cre ateSession Id() +52
System.Web.SessionState.Se ssionState Module.Del ayedGetSes sionId() +65
System.Web.SessionState.Se ssionState Module.OnR eleaseStat e(Object source, EventArgs eventArgs) +592
System.Web.SyncEventExecut ionStep.Sy stem.Web.H ttpApplica tion.IExec utionStep. Execute() +138
System.Web.HttpApplication .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously) +65
I don't know what happened. Anybody recognize this symptom and can provide a solution?
"Session state has created a session id, but cannot save it because the response was already flushed by the application". Here is the remainder of the detail:
[HttpException (0x80004005): Session state has created a session id, but cannot save it because the response was already flushed by the application.]
System.Web.SessionState.Se
System.Web.SessionState.Se
System.Web.SessionState.Se
System.Web.SessionState.Se
System.Web.SyncEventExecut
System.Web.HttpApplication
I don't know what happened. Anybody recognize this symptom and can provide a solution?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/questions/23281996/ASP-Net-Session-State-Flushed-Error-Message.html