1、using System.Web.SessionState;
2、实现接口IRequiresSessionState
public class Handler : IHttpHandler,IRequiresSessionState{
string code = context.Session["code"].ToString();
}
时间: 2024-10-08 21:49:08
1、using System.Web.SessionState;
2、实现接口IRequiresSessionState
public class Handler : IHttpHandler,IRequiresSessionState{
string code = context.Session["code"].ToString();
}