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
What are session state modes? List some of the important session state modes of asp.net.
What I need to create and run an asp.net application?
Explain about the Class view window?
How do you sign out from forms authentication?
What is http request and response?
What is form method?
witch is the best insistute in sharpoint course.what abt future of share point course.
What is session mode in asp.net?
In order to get assembly info which namespace we should import?
What is mta?
What are the layouts of ASP.NET Pages?
How do u deploy ur project?
Define viewstate in .net?
Explain how dot net compiled code will become platform independent?
What is asp.net with mvc? : Asp.Net MVC