Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

You have multiline textbox and submit button. if you paste
xml content into multiline textbox and hit submit button.
what action will perform?

Answer Posted / srini

ValidateRequest is default to true

"The server encountered a potenially unsafe form request......" exception is thrown when it's 'true' as it validates the request when posted back.

If you change it to 'false', page will be posted without any exception. But we need to implement custom encoding technique before storing it to DB to avoid scrip inserts for security reasons.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different methods of session maintenance in asp.net?

1063


What are the 3 levels at which content pages can be attached to Master Page?

1136


What are the components of ado.net?

959


What is asp.net introduction?

1014


What is postback request?

980


How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?

968


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

6638


Explain the Session state management options available with ASP.NET?

1031


What is css in asp.net?

1075


Can we create a multiple user simultaneously ?

1129


How can you send an email message from an asp.net web page?

989


Explain Authentication mechanism in dotnet

1041


How will create assesblies at run time?

985


What is the adavantage of using ASP.NET routing?

1173


What is asp.net and how it works?

1007