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 session state modes? List some of the important session state modes of asp.net.

896


What I need to create and run an asp.net application?

936


Explain about the Class view window?

934


How do you sign out from forms authentication?

998


What is http request and response?

969


What is form method?

874


witch is the best insistute in sharpoint course.what abt future of share point course.

3337


What is session mode in asp.net?

981


In order to get assembly info which namespace we should import?

942


What is mta?

983


What are the layouts of ASP.NET Pages?

1014


How do u deploy ur project?

2634


Define viewstate in .net?

906


Explain how dot net compiled code will become platform independent?

924


What is asp.net with mvc? : Asp.Net MVC

938