Re: Are Session Variables lost when the app domain is re-created?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It looks like you are right. When the session state mode is "InProc"
the session information will be lost in the situations you mentioned.
Apparently using another mode like State Server or SQL Server you might
be able to keep the session information intact even when those events
happen. The following article provides further details:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsessionstate.asp

Regards

.



Relevant Pages

  • Re: losing sessions when running in StateServer mode
    ... I've read somewhere that unless you restart state server, ... session start server in the infrastructure. ... But if the session is lost by the application how is IIS going to know what session information belonged to what application? ... if you use in-proc then the session information would be stored in the worker process so if the worker process were recycled then the session information would be lost. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: losing sessions when running in StateServer mode
    ... I've read somewhere that unless you restart state server, ... session start server in the infrastructure. ... normally in a cookie. ... retrieve the session information. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: losing sessions when running in StateServer mode
    ... I've read somewhere that unless you restart state server, ... session start server in the infrastructure. ... retrieve the session information. ... the worker process so if the worker process were recycled then the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: losing sessions when running in StateServer mode
    ... I've read somewhere that unless you restart state server, ... session start server in the infrastructure. ... retrieve the session information. ... You know, I had a situation where I had a custom object in session with many object graphs in it that was being passed around from page to page, and the pages populated the object and object graphs in the custom object. ...
    (microsoft.public.dotnet.framework.aspnet)
  • IE 6 , XP , problem with session
    ... i have a problem with IE 6: sometimes, the session information is ... we have a web site, and when we open a new window, it appears that we ... lost the current session ...
    (microsoft.public.windows.inetexplorer.ie6.browser)