1.在应用程序中获取session,System.Web.HttpContext.Current.Session;
2.命名空间如下:IRequiresSessionState
调用方法
public class ProjectInfo : IHttpHandler,System.Web.SessionState.IRequiresSessionState
{
}
1.在应用程序中获取session,System.Web.HttpContext.Current.Session;
2.命名空间如下:IRequiresSessionState
调用方法
public class ProjectInfo : IHttpHandler,System.Web.SessionState.IRequiresSessionState
{
}