ashx 中获取 session获取信息

1.在应用程序中获取session,System.Web.HttpContext.Current.Session;

2.命名空间如下:IRequiresSessionState

调用方法

public class  ProjectInfo : IHttpHandler,System.Web.SessionState.IRequiresSessionState
{

}

posted @ 2018-12-20 19:16  李寒星  阅读(486)  评论(0编辑  收藏  举报