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
Can a .net web application consume java web service?
What is the use of data set in asp.net?
How you will improve web application performance?
What is a web farm?
Explain the various authentication mechanisms in asp.net.
Define viewstate in .net?
Which is the parent class of the web server control?
Explain login control and form authentication.
What is enableviewstate in asp net?
What are session objects?
Describe the events in the life cycle of a web application.
What is slidemaster?
What is the difference between viewstate and hidden field in asp.net?
How do you identify that the page is postback?
Any disadvantages in Dataset and in reflection ?