title: ASP.NET MVC - Session is null
body: <p>I have an MVC3 application on .net4 that its session working in the dev Environment, but not in the production.<br>
  In the production I logged the sessionID and the it is the same in the moment I Set and Get from the session.  </p>
  
  <p>When I try to get the session I am getting <code>Null Exception</code>.  </p>
  
  <p>This is how I access the session:</p>
  
  <pre><code>public static class HandlersHttpStorage
  {
      public static string TestSession
      {
          get
          {
              return HttpContext.Current.Session["time"];//This is null
          }
          set
          {
              HttpContext.Current.Session.Add("time", value);//DateTime.Now.ToString()
          }
      }
  }
  </code></pre>
  
  <p>What's makes me worried is that the behavior in the production is different than the development, even though the web.config is the same.</p>