Ask a Question related to ASP.NET Security, Design and Development.
-
EO #1
customizing validation script-injection error page.
I think i've googled to the end of the internet, but just can't find any
resources to tell me how to customize the glorious error message that says:
Server Error in '/Code' Application.
A potentially dangerous request.form value was detected from the
client.......
How do I post a user friendly message? Or do I just assume that anyone who
would generate such a message is a hacker and doesn't deserve a friendly
message?
Many Thanks,
E. Ostrander
EO Guest
-
Custom Validation Script
I need to limit the numeric value a user can enter but keep the format as $0,000.00. I'm using the following validation script: function... -
An error has occurred in the script on this page
Several of us who are using Contribute 3 and IE 6 seem to get this error on certain pages: An error has occurred in the script on this page Line... -
Recommendations for PHP Form Validation Script
Where can I find an online PHP form validator script library to use? I have tried hacking the one here at work for weeks now and it's getting more... -
javascript validation script question
Dwayne Epps wrote: :: :: I call the function with the form onSubmit event. There are 4 form :: fields that aren't required for input and when... -
Login script validation & sessions
The below login script does work. The form does not seem to be submitting. I keep getting the username and password fields. The only errors I get... -
Peter Blum #2
Re: customizing validation script-injection error page.
All exceptions can be captured in two places, using event handlers:
1. Page object has the Error property
2. Global.asax has the method Application_Error
Your task is to test the class of exception object and redirect to the
desired page.
You can get the current exception from
HttpContext.Current.Server.GetLastError().
--- Peter Blum
[url]www.PeterBlum.com[/url]
Email: [email]PLBlum@PeterBlum.com[/email]
Creator of "Professional Validation And More" at
[url]http://www.peterblum.com/vam/home.aspx[/url]
and "Visual Input Security" at [url]http://www.peterblum.com/vise/home.aspx[/url]
"EO" <me@home.com> wrote in message
news:eIR6eb9$EHA.2704@TK2MSFTNGP10.phx.gbl...>I think i've googled to the end of the internet, but just can't find any
>resources to tell me how to customize the glorious error message that says:
>
> Server Error in '/Code' Application.
>
> A potentially dangerous request.form value was detected from the
> client.......
>
>
>
> How do I post a user friendly message? Or do I just assume that anyone who
> would generate such a message is a hacker and doesn't deserve a friendly
> message?
>
> Many Thanks,
>
> E. Ostrander
>
Peter Blum Guest



Reply With Quote

