Matias Nino Matias Nino - 1 year ago 117
ASP.NET (C#) Question

ASP.NET deployment: How to avoid losing session state when updating code?

How do you work-around the fact that sessions are dropped every time you deploy certain code files to an ASP.NET website? Sometimes we need to deploy a crucial fix in the middle of the day but don't want to boot off all our users for it.

Answer Source

By default Sessions are stored InProc. You should choose an out-of-process option.

Maybe just a StateServer is enough in your scenario

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download