title: Value of TempData becomes null after "Redirect"
body: <p>I am facing issues with <strong>TempData</strong> after <strong>Redirect</strong>.</p>
  
  <pre><code>public ActionResult LoginCredentials()
  {
      // Calling "SetError()" in catch(), if password mismatch.                        
      try{}
  
      catch()
      {
        return SetError();
      }   
  }
  
  public ActionResult SetError()
  {
      // set the value of TempData as "true"                        
      TempData["error"] = true;
      return Redirect("/Login");                
  }
  
  
  public ActionResult Index()
  {
      ViewData["useError"]= TempData["error"]; // at this point TempData["error"] is null.
      ...
  }
  </code></pre>
  
  <p>In SetError() value of TempData is successfully set as true, issue takes place after "Redirect", value becomes "null" and I can't use it anymore.</p>