Possible Duplicate:
Why HttpContext.Current.Session is null in Global.asax?
I am developing a MVC3 project (Razor).
I added a variable to my session in some Controller/Action (different per user).
I want to access this variable in Application_AuthenticateRequest
method (global.asax).
This exception happened:
Session state is not available in this context.