title: System.Web.Mvc.Controller Initialize
body: <p>i have the following base controller...</p>
  
  <pre><code>public class BaseController : Controller
  {
  
      protected override void Initialize(System.Web.Routing.RequestContext requestContext)
      {
  
          if (something == true)
              RedirectToAction("DoSomething", "Section");
  
          base.Initialize(requestContext);
  
      }
  
  }
  </code></pre>
  
  <p>Basically, all my controllers will derive from BaseController, and it will redirect them if a certain value is true.  However, this code does not work!!!  The call to RedirectToAction is made, but after the Initialize method is finished, it will just move on to the originally called controller.</p>
  
  <p>Does that make sense??</p>
  
  <p>Many thanks,</p>
  
  <p>ETFairfax.</p>