Textbox error

V

Vishesh Vyas

Hi,
I am getting the following error when i place "<a>" text in a text box and
submits the value..

"A potentially dangerous Request.Form value was detected from"

Thanks and Regards,
Vishesh.
 
K

Kannan.V [MCSD.net]

hi vyas,

Thats because of the security feature provided by dotnet net to prevent
Cross-site scripting attacks, so for this certain characters will be
prevented from being passed through the text box.
If you wish to disable this feature set validateRequest=false in the Page
directive or in the configuration file.
else manually validate the text entered in the textbox before submitting.

Hope this helped
Kannan.V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,143
Messages
2,570,822
Members
47,368
Latest member
michaelsmithh

Latest Threads

Top