也不知道怎么解决,偶尔会出现这个问题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.

相关文章:

  • 2021-04-03
  • 2021-11-14
  • 2021-09-21
  • 2022-12-23
  • 2021-07-25
  • 2021-11-25
猜你喜欢
  • 2021-12-24
  • 2022-02-13
  • 2021-12-07
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案