Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
How to avoid cross site scripting
March 01, 2013
when the script tag is entered in textbox the script gets executed, saw couple of posts to use "validaterequest=false" page level, but this will generate exception which will be caught at application_error, I am able to catch the exception while debugging, but when I browse my page the yellow page occurs with exception. My custom exception is not appearing. Any suggestions on this.
Posted Date: March 05, 2013 Points: 20
Basically you need to use the function htmlspecialchars () whenever you want to output something to the browser that came from the user input.
Click Here for More Information about .Net Developer of India
To post reply
Related Questions Related Questions
What are the different ways to prevent cross site scripting on SharePoint 2013 sites?
How to show Adds by Google Tag in my web-site?
how to send e-mail from site to admin
how to put vedio on our site?
How my web-site URL will reamin same name?
Delay in building project - how to avoid?
How to put my Developed Web Site in INTERNET??
Displaying Visitors city when he/she visits site
What is cross postback in asp.net?
What is deadlock in transaction? How can avoid it?
Latest Forum Questions From The Same Category
how to learn and Where can i Learn about ASP .Net
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend