Session丢失的解决方法

1.修改配置文件 <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="99999" />
2.修改注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection 值改为1
3.打开asp.net状态服务 
posted @ 2016-03-12 12:23  机器三脚猫  阅读(161)  评论(0编辑  收藏  举报