Created
October 22, 2014 00:36
-
-
Save pparadis/d2f5283ad3037f0938f3 to your computer and use it in GitHub Desktop.
ASP.NET MVC Redirection 307
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ActionResult About() | |
{ | |
HttpContext.Response.AddHeader("Location", "/Home/Contact"); | |
return new HttpStatusCodeResult(307); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment