在一般应用处理程序中不能直接使用session。

要引入using System.Web.SessionState;

要在class中引入IHttpHandler,IReadOnlySessionState

然后,才能使用seesion

相关文章:

  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
猜你喜欢
  • 2021-07-31
  • 2021-12-11
  • 2021-08-30
  • 2021-12-13
  • 2021-09-25
相关资源
相似解决方案