Last post Sep 05, 2018 05:56 AM by Nan Yu
Sep 04, 2018 03:47 AM|Saavik|LINK
When a page gets a request, is there a way to tell if it is a person or a bot?
I looked at Request.Browser which has a lot of information, and considered Request.Browser.Crawler and Request.Browser.ScreenPixelsHeight (and Width). From my observations, ScreenPixelsHeight
(and Width) are only filled when page is posted back.
Help most appreciated.
Sep 05, 2018 04:31 AM|KathyW|LINK
Captchas would not need to exist if you could detect bots so easily. Consider using one, such as Google's captcha. If your site asks people to log in, use it on the login page. If you have a form anyone can submit, use it on that page.
Sep 05, 2018 05:56 AM|Nan Yu|LINK
Hi Saavik ,
Captchas are probably the most common approach to making sure a user is humanoid, and generally they are difficult to automatically get around.
If you don't need Captchas , you can also parse the USER_AGENT string and compare it against such a bot list. Such as this one :
But of course it's not such reliable .Someone can easily hack useragent string in browser .
You can refer to below link for more details about different solution to this issue :