Matias Nino Matias Nino - 22 days ago 6x
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.


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

Maybe just a StateServer is enough in your scenario