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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top