解决方式: 1.检查iis托管模块中是否有Session 2.在web.Config中的加上 <pages enableSessionState="true" /> 来源:oschina链接:https://my.oschina.net/u/4365009/blog/3680036 标签 iis