
























IIS使用ASP.NET State Service存储Session
好处:
1)使用WEB园,提高iis应用程序并发性能
2)当IIS重启时,用户Session不会丢失,提高用户体验。
1)启动系统ASP.NET State Service服务。
2)配置web.config
<system.web>
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="300" />
</system.web>
3)修正代码;如可序列化。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。