Skip to content

Instantly share code, notes, and snippets.

@robashton
Created June 13, 2011 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robashton/1023087 to your computer and use it in GitHub Desktop.
Save robashton/1023087 to your computer and use it in GitHub Desktop.
ASP.NET Cruft
[HttpPost]
public ActionResult DoSomethingCool()
{
if (Session["water"] == "boiling")
{
Server.TransferRequest("~/408.aspx");
}
return View();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment