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.
精彩评论