•   29 November 2009 11:09 am
  •  


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.

Comments

  Add Comment

Confirm Submission

Please enter the text from the image in the box provided; this helps us to prevent spam.