Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 19, 2012 03:54 PM by BrockAllen
Mar 19, 2012 03:46 PM|LINK
I'm working with MVC 3, and I need to pass HttpSessionState object but it appears MVC only has HttpSessionStateBase.
Is there anyway to get a hold of HttpSesssionState object?
Mar 19, 2012 03:54 PM|LINK
The implementation in MVC is HttpSessionStateWrapper and unfortunately it doesn't look like it exposes the wrapped HttpSessionSTate. To access the "real" session, you can always just call System.Web.HttpContext.Current.Session.