Last post May 19, 2015 11:32 PM by Edwin Guru Singh
May 18, 2015 09:35 PM|mintssoul|LINK
Some improper values such as '<script>alert(1)</script>' are inputted in 'order number' field in an Ajax call.
How to prevent this from happening?
May 19, 2015 11:32 PM|Edwin Guru Singh|LINK
As per this case, check the following details :
1.you have to disable request validation on a page then must set the validateRequest attribute of the Page directive to false like below:
<%@ Page validateRequest="false" %>
2.Or you have to disable request validation for your application, then must modify or create a Web.config file for your application and set the validateRequest attribute of
the <pages /> section to false like below:
<pages validateRequest="false" />
for more information ,
Click here to know more about How to Preventing Script Attacks from Request Validation.