A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
A potentially dangerous Request.Form value was detected from the client
On Saturday, June 3rd 2006 at 01:40 PM
By Andrew Pociu (View Profile)
(Rated 3.5 with 10 votes)
To fix this, you can set the validateRequest attribute to false, either for the entire ASP.NET web application, or just for one page. To disable validateRequest for a single page, go to that page's Page attribute (located at the top of the markup), and set validateRequest to false, as you can see at the end of the example below:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SamplePage.aspx.cs" MasterPageFile="DefaultLayout.master" Inherits="Admin_SamplePage" ValidateRequest="false" %>
If you prefer to set this value for all the pages in your ASP.NET web application, open (or create) the web.config file and add the <pages validateRequest="false" /> tag inside the system.web tag, as shown in the example below:
<pages validateRequest="false" />
|Digg It! Del.icio.us Reddit StumbleIt Newsvine Furl BlinkList|
Rate this Knowledge Base article
Related Knowledge Base Articles
There are no related KB articles.
Related Source Code
There is no related code.
There are no related tutorials.
ASP.NET Job Search
From the creators of Geekpedia, a revolutionary new coupon website!
BargainEZ has coupons codes, printable coupons, bargains and it is the leading source of Passbook coupons for iPhone and iPod touch devices.