title: Global.asax event that has access to session state
body: <p>I'm trying to access the session state in my global.asax for every request (page, documents, PDF, etc.). I know i can't do that in Application_BeginRequest, and i thought i could in Application_AcquireRequestState, but it won't works, which is strange because it works in another project.</p>
  
  <p>So, i'm looking for an event in which i would always have access to the session state for every request.</p>
  
  <p>Thanks</p>
  
  <p>EDIT: @Mike</p>
  
  <p>I tried doing this</p>
  
  <pre><code>Sub Application_PreRequestHandlerExecute(ByVal sender As Object, ByVal e As EventArgs)
      Session("test") = "test"
  End Sub
  </code></pre>
  
  <p>But i still get errors as i don't have access to session state.</p>