KNOWLEDGEBASE · NETWORK LOAD BALANCED CLUSTER
ASP.NET Sessions Reset
Last updated 2019-02-04
Reset Sessions - Clustered Hosting
If your site is having issues with ASP.Net sessions being reset or lost you will need to assign a static MachineKey in your web.config file. By default the MachineKey is set to "AutoGenerate" so when the site recycles due to inactivity or memory limitations the sessions the key is regenerated causing sessions to be list.
To generate a static MachineKey please visit http://www.eggheadcafe.com/articles/GenerateMachineKey/GenerateMachineKey.aspx.
To set the MachineKey in your web.config please visit http://msdn.microsoft.com/en-us/library/ms998288.aspx
We don't support a stateserver. Make sure to set a static machineKey if you're seeing session loss.
Tell us what has to stay up.
A short conversation with an engineer. No quote-bot, no callback queue. We'll tell you honestly if we're not the right fit.