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 different methods of session maintenance in asp.net?
What are the 3 levels at which content pages can be attached to Master Page?
What are the components of ado.net?
What is asp.net introduction?
What is postback request?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
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
Explain the Session state management options available with ASP.NET?
What is css in asp.net?
Can we create a multiple user simultaneously ?
How can you send an email message from an asp.net web page?
Explain Authentication mechanism in dotnet
How will create assesblies at run time?
What is the adavantage of using ASP.NET routing?
What is asp.net and how it works?