也不知道怎么解决,偶尔会出现这个问题Asp.Net session has expired,
在Web.Config里加这段
<system.web>
...
<sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424" cookieless="false" timeout="20"/>
同时注意启动ASP.NET State Service 服务
Note:Provides support for out-of-process session states for ASP.NET. If this service is stopped, out-of-process requests will not be processed. If this service is disabled, any services that explicitly depend on it will fail to start.