This project is read-only.

[SOLVED]Session Context

Topics: ASP.NET 2.0, Business Logic Layer, Controls
Aug 17, 2009 at 9:32 PM

I had problems trying to store some data at HttpSession. This object always come as null when I try this

HttpSessionState session = HttpContext.Current.Session; 

So I figured out that reason was that web.config file was not configured to support it.

Is there some special reason or Blogengine has another way of store data user???

Aug 26, 2009 at 2:37 PM

I solved it adding this httpmodule to Web.config

<add name="Session" type="System.Web.SessionState.SessionStateModule"/>