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
阅读(523)
评论(0)
推荐(0)
浙公网安备 33010602011771号