Error when '>' is input to the textbox control

G

Guest

The following error is encountered when attempt to input the character > into
a textbox control :
A potentially dangerous Request.Form value was detected from the client

Is there a way to resolve it?

Thanks,
Ben
 
D

Damien

Ben said:
The following error is encountered when attempt to input the character > into
a textbox control :
A potentially dangerous Request.Form value was detected from the client

Is there a way to resolve it?

Thanks,
Ben

In 1.1, there's an option called "ValidateRequest" within then @Page
directive. So if you're developing under 1.1, you can try adding that.
N.B., you can also turn this off machine wide, but I really wouldn't
recommend it. Only do it where you need to accept such characters (and
have a good regex to recognise good input and reject everything else,
etc).

Damien
 
S

Showjumper

Add ValidateRequest=false to the <%@ Page Language="vb" tag at the top of
the page
 

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

Top