web forms and html tags

H

hoz

Hi ,
i have a web from contains textbox and insert to db button .When i write
html tags inside text , the code is blocked , how can i enter information
like ?
<p> Hi </p>

thanks
 
J

John M Deal

You need to disable the validate request functionality of your web page.
Do this by either setting validateRequest=false in the Page directive on
the page involved or go to the config file for the site and disable it
there (the help files for validateRequest should have the details you
need). By the way, this is on by default in order to help prevent
cross-site scripting attacks as it makes you explicitly turn it off an
thereby take responsibility for dealing with the potential for the attack.

Have A Better One!
 
H

hoz

Thanks for the answer

John M Deal said:
You need to disable the validate request functionality of your web page.
Do this by either setting validateRequest=false in the Page directive on
the page involved or go to the config file for the site and disable it
there (the help files for validateRequest should have the details you
need). By the way, this is on by default in order to help prevent
cross-site scripting attacks as it makes you explicitly turn it off an
thereby take responsibility for dealing with the potential for the attack.

Have A Better One!
 

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

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top