Last post Jan 05, 2013 12:38 AM by Ruchira
Jan 02, 2013 11:30 AM|Matt in Cambridge|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 12:38 AM|Ruchira|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