在ashx中读不到Session:解决方法是
在ashx文件中引用 using System.Web.SessionState;
然后继承IReadOnlySessionState接口 就可以了.
或者继承IRequiresSessionState接口。
在ashx中读不到Session:解决方法是
在ashx文件中引用 using System.Web.SessionState;
然后继承IReadOnlySessionState接口 就可以了.
或者继承IRequiresSessionState接口。

被折叠的 条评论
为什么被折叠?