handler(一般处理程序)使用session
2011-07-05 11:33
295 查看
1.导入
using System.Web.SessionState;
2.添加
public class TreeData : IHttpHandler, IRequiresSessionState, IReadOnlySessionState
{}
3.使用
System.Web.HttpContext.Current.Session["num"].ToString();
using System.Web.SessionState;
2.添加
public class TreeData : IHttpHandler, IRequiresSessionState, IReadOnlySessionState
{}
3.使用
System.Web.HttpContext.Current.Session["num"].ToString();
相关文章推荐
- handler(一般处理程序)使用session
- ASP.NET中在一般处理程序中使用session的简单介绍
- 20151230:在一般处理程序页面使用Session<转>
- asp.net一般处理程序中使用session
- (转帖)C#一般处理程序中使用Session
- ASP.NET一般处理程序(.ashx.cs)中使用Session的问题
- C#一般处理程序中使用Session
- 使用ashx一般处理程序,读取不到Session的问题
- asp.net .ashx一般处理程序中使用Session
- 在ashx一般处理程序中使用session
- 在一般处理程序中使用session
- 一般处理程序中使用session
- 验证码| 在一般处理程序中使用Session
- 在ashx一般处理程序文件中不能使用session和request的问题解决办法
- ASP.NET中在一般处理程序中如何使用session
- C#一般处理程序中使用Session
- 在ashx一般处理程序文件中不能使用session和request的问题解决办法
- 工作趣事 之 一般处理程序使用Session(个人亲身经历)
- asp.net 中一般应用处理程序使用session
- C#一般处理程序 ashx.cs使用Session报错的处理