Redirecting Request Validation?

  • Thread starter Thread starter clintonG
  • Start date Start date
C

clintonG

Is there any way to redirect the output from Request Validation to an actual
page of our choosing?
 
Solved myself as often happens no thanks to MSDN documentation...

// global.asax catches the Request Validation error...
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
Response.Redirect("~/ErrorPages/ErrorResponse.aspx");
}

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
 
Back
Top