Recompiling and Session Objects?

  • Thread starter Thread starter Lucas Tam
  • Start date Start date
Yes. The web application will be restarted. Session and Application state
will be wiped.
 
Hi, Lucas.

Recompiling will cause session objects to disappear only if
you are using InProc (in-process) session state management.

If you are using State Server or SQL Server session
state management, your session data will persist.



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================
 
Hi, Lucas.

Recompiling will cause session objects to disappear only if
you are using InProc (in-process) session state management.

If you are using State Server or SQL Server session
state management, your session data will persist.

Ah thanks... no wonder why my sessions were disappearing! I hadn't really
noticed it before since I wasn't using any session variables.

Thanks for confirming.
 
Back
Top