473,378 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

web forms and html tags

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
Nov 19 '05 #1
2 969
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!
hoz wrote:
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

Nov 19 '05 #2
hoz
Thanks for the answer

"John M Deal" <jo******@necessitysoftware.com> wrote in message
news:OW**************@TK2MSFTNGP12.phx.gbl...
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!
hoz wrote:
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

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
5
by: ~~~ .NET Ed ~~~ | last post by:
Hi, As you all know when an ASP.NET web form is created that will include web controls and such, it contains a FORM that that identifies the web form and its containing controls. Well, I have a...
6
by: taras.di | last post by:
Hi everyone, I've just spent the last 2 hours banging me head against the desk trying to figure this one out. I eventually figured out that sometimes a form doesn't exist for the popup I'm...
7
by: thersitz | last post by:
I can't seem to get my html form to submit properly from within a web form. Here's my form tag syntax and some delivery hidden fields. <form id="myForm"...
9
by: WebCM | last post by:
I need a solution for CMS. I would like to edit and create FORMS easily, especially list of settings. Which is better and why? $$ XML or HTML $$ Forms occur in View layer - in presentation file....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.