Skip to content

Instantly share code, notes, and snippets.

@stevejay
Created May 5, 2014 21:13
Show Gist options
  • Save stevejay/3910cdb64fcbdd8a74a3 to your computer and use it in GitHub Desktop.
Save stevejay/3910cdb64fcbdd8a74a3 to your computer and use it in GitHub Desktop.
HttpContext.Current.Session["exception"] = exception;
var url = "~/Error/ManualErrors?statusCode=" + statusCode;
HttpContext.Current.Server.TransferRequest(url, false, "GET", null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment