asp.net - When IIS restarts how to go back to same page? -


Assume I have logged into a web application. I am on the page Default.aspx If Iis restarts then I need to login again to use the application.

Is it possible to return to the same page after IIS restart?

If you mean that the ASP.NET application is a recycle domain, then you are the issue that you Session state data is lost, is not it? If this is the case, how about storing the data of sessions inside a station server or SQL server? The default is "in process", so when the app domain recycles it is cleared.


Comments