开发者

HttpContext.current.Session returns Nothing

I access some session variables from within a class li开发者_如何转开发brary, the properties/methods are being called from a ASP.NET page. But the Session returns nothing why would this be?


Does your code run before HttpApplication.AcquireRequestState event? Is SessionState http module enabled? If thats disabled, your session would return null.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜