"Gomez" <an*******@disc ussions.microso ft.com> wrote in message
news:68******** *************** ***********@mic rosoft.com...
Hi, Is there a way to know if a session on my web server
is from an actual user or an automated crawler.
Ray at <%=sLocation% > [MVP] wrote on 18 feb 2004 in
microsoft.publi c.inetserver.as p.general: Perhaps by looking at the user-agent that is making the request,
although I can't say for certain that crawling software doesn't send
browser-looking user-agent info, or that this isn't possible if the
crawler software writer wants it to.
Yes
Google puts "googlebot in Request.ServerV ariables("HTTP_ USER_AGENT")
More:
1
using
r = Request.ServerV ariables("HTTP_ REFERER")
you can check for:
"64.68." crawler googlebot.com
"216.239." crawler googlebot.com
"209.237.23 7." Alexa
"209.237.23 8." Alexa
"62.69.162. " ingrid.ilse.nl
"216.39." AltaVista
etc., etc.
2
In hindsight, if a Request.ServerV ariables("HTTP_ REFERER") single IP
looks at many pages in a timeframe surpassing the maximum
vingerleftmousc lick and if every page is a seperate session, it is
probably eiter a crawlerbot or [if there is also a strange supect
querystring] a hacker.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)