title: accessing HttpContext.Request in a controller's constructor
body: <p>I'm following this <a href="http://www.asp.net/mvc/tutorials/passing-data-to-view-master-pages-cs" rel="noreferrer">ASP.NET MVC tutorial from Microsoft</a>:</p>
  
  <p>My code is slightly different, where I'm trying to access <code>HttpContext.Request.IsAuthenticated</code> in the controller's constructor.</p>
  
  <pre><code>namespace SCE.Controllers.Application
  {
      public abstract class ApplicationController : Controller
      {
          public ApplicationController()
          {
              bool usuario = HttpContext.Request.IsAuthenticated;
          }           
      }
  }
  </code></pre>
  
  <p>The problem is that <code>HttpContext</code> is always null.</p>
  
  <p>Is there a solution to this?</p>