多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about invalid view state. You need to fix the problem. What should you do?()

  • A、Set viewStateEncryptionMode to Auto in web.config on both servers.
  • B、Set the machineKey in machine.config to the same value on both servers.
  • C、Change the session state mode to SQLServer on both servers and ensure both servers use the same connection string.
  • D、Override the SavePageStateToPersistenceMedium and LoadPageStateFromPersistenceMedium methods in the page base class to serialize the view state to a local web server file.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题