1.导入

 

using System.Web.SessionState;

 

 

 

2.添加

 public class TreeData : IHttpHandler, IRequiresSessionState, IReadOnlySessionState
{}

 

 

3.使用

System.Web.HttpContext.Current.Session["num"].ToString();

 

 

相关文章:

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