Saturday, March 27, 2010

ASP.Net Session lost when deleting folder

Hi there.
The last days of my coding brought me to a problem with loosing session state in my ASP.Net application, when deleting a folder during the request processing.
The thing is that when you delete a folder which is under the root folder of your application, then the structure of the application is being changed, and the IIS recycles that application. This means that the issue will be only in case of InProc Session State, which keeps the session state in memory.
Hope this will be helpfull.

Have a great weekend.