
Got confused, there is not a place where you store session or application.
Session data is stored based on the configuration you have set in the web.config file (if no configuration is set for sessionState, it stores inproc ie in the system memory).
Application variables data is also stored into the system memory.
In above case when the application restarts both the session data as well as application data is lost.
If you have stored session in outproc (state server or sql server), your data will remain even the application is restarting.
Hope it helps.
Thanks
Regards,
Sheo Narayan
http://www.dotnetfunda.com
Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator