一、using System.Web.SessionState;

 

二、类实现IRequiresSessionState

public class DoAjax : IHttpHandler,IRequiresSessionState

{

         

}

 

完成以上两步就可以正常使用Session了。

相关文章:

  • 2021-08-12
  • 2021-04-01
  • 2022-02-10
  • 2021-09-04
猜你喜欢
  • 2021-05-24
  • 2022-12-23
  • 2021-07-03
  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案