How to protect application pools from session serialization exceptions?

后端 未结 3 1948
逝去的感伤
逝去的感伤 2021-02-09 05:52

We\'re using an Out-of-Process Session Provider (ScaleOut) for an ASP.NET application and we\'ve noticed that when an object that\'s not correctly setu

3条回答
  •  别那么骄傲
    2021-02-09 06:07

    Can we trap errors that happen at this step to protect the app pool? The exceptions raised here are logged w/ Source=ASP.NET 2.0.50727.0 and don't reach the application error handlers in global.asax. What can we do to guard against this scenario, even after appropriate checks & balances are applied to session-bound objects?

    I don't know if this will work, but you can give it a shot

提交回复
热议问题