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
Where can I get information on cookies in asp.net?
Mention few asp.net validators.
Explain the significance of routing? : asp.net mvc
Explain diff. Between friend and protected friend?
What is validation in asp.net?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
What is server side session?
Name some asp objects?
Give a few examples of page life cycle events.
hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.
Explain what does mvc represent in asp.net? : asp.net mvc
What is asp.net futures?
What is autopostback in dropdownlist in asp net?
What is difference between view state and session state?
How do I use a proxy server when invoking a web service?