malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?

2012年8月26日

Session is null in ashx and in web api

摘要: Session is null in ashxIf the HttpContext.Current.Session is null in your .ashx handler, add System.Web.SessionState.IReadOnlySessionState to your class declaration, like this:public class MyHandler : IHttpHandler, System.Web.SessionState.IReadOnlySessionStateAlso, if you need to write to Session[], 阅读全文

posted @ 2012-08-26 17:01 malaikuangren 阅读(513) 评论(0) 推荐(0) 编辑