Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 05, 2013 04:38 AM by Ruchira
Jan 02, 2013 03:30 PM|LINK
my code for the Application_Error area of Global.asax is pretty messy for my public website. Things that I've had to write code for:
1. Search engine bots that make invalid requests
2. Random web crawling tools by ZmEu and other malicious bots out there
Would anyone be willing to share their code for Application_Error that is a best practice and handles the above?
Jan 05, 2013 04:38 AM|LINK
You can check the request in your Application_Error method like below
Replace malcious_content_here with whatever text you are going to identify the invalid request.
Please 'Mark as Answer' if this post helps you.