Losing Session State with ASP.NET/SQL Server

后端 未结 3 465
半阙折子戏
半阙折子戏 2020-12-02 19:18

I have a ASP.NET MVC workflow configured as two websites managed by a load balancer. The websites use Sql Server as the session state provider and have authentication switch

3条回答
  •  青春惊慌失措
    2020-12-02 19:59

    1. Using IIS Manager, double-check your machine key settings at both the root and website levels.

    enter image description here

    1. Review the IsolateApps modifier on the machine key element - http://msdn.microsoft.com/en-us/library/w8h3skw9%28v=vs.100%29.aspx

    2. Did you recently upgrade from 3.5 to 4.0?

    3. Last resort - recycle the appPools on both machines, and restart IIS.

提交回复
热议问题