title: Access Session In Global.asax Methods in MVC3 Environment
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4185871/why-httpcontext-current-session-is-null-in-global-asax">Why HttpContext.Current.Session is null in Global.asax?</a>  </p>
  </blockquote>
  
  
  
  <p>I am developing a MVC3 project (Razor).<br>
  I added a variable to my session in some Controller/Action (different per user).<br>
  I want to access this variable in <code>Application_AuthenticateRequest</code> method (global.asax).</p>
  
  <p>This exception happened:</p>
  
  <blockquote>
    <p>Session state is not available in this context.</p>
  </blockquote>
  
  <p><a href="https://rapidshare.com/files/2871787764/MVCSession.rar" rel="nofollow noreferrer">Sample Project</a></p>