title: HttpContext.Current.Session Is Null In Global.asax
body: <p>I used forms authentication.
  In LdapAuthentication.cs I have property </p>
  
  <pre><code>public static string ReturnProject
      {
          get
          {
              return HttpContext.Current.Session["Project"].ToString();
          }
      }
  </code></pre>
  
  <p>In global.asax.cs I trying to get Session["Project"] from LdapAuthentication.cs for check and ridirect to other pages according with rusult in Session["Project"], but I've got System.NullReferenceException. I cheked Session["Project"] in LdapAuthentication.cs - is ok</p>
  
  <pre><code>protected void Application_AcquireRequestState(object sender, EventArgs e)
      {
          if (Request.AppRelativeCurrentExecutionFilePath == "~/")
          {
              if (LdapAuthentication.ReturnProject == "Team Leader")
                  HttpContext.Current.RewritePath("~/TLPage.aspx");
              else
                  if (LdapAuthentication.ReturnName == "ccobserver")
                      HttpContext.Current.RewritePath("~/ScheduleReport.aspx");
                  else
                      HttpContext.Current.RewritePath("~/PersonPage.aspx");
          }
      }
  </code></pre>
  
  <p>doesn't matter which handler use Application_AcquireRequestState or Application_AuthenticateRequest.</p>
  
  <p>Thanks! </p>