Determine if User Agent is a crawler?

B

Bill

Is there a fast way, with Classic ASP, to determine if a user agent is a search engine
spider?

I know that ASP.NET has Request.Browser.Crawler, I'm looking to see if classic ASP has
something built in, or do I have to look for strings in the user agent.

Thanks!
 
D

David Morgan

Check Request.ServerVariables("HTTP_USER_AGENT") for crawler, spider and
bot. Most search crawlers have something like that in their user agent
string.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,372
Latest member
LucretiaFo

Latest Threads

Top