You are viewing a plain-jane printable version of http://CoverYourASP.com/LimitIP4.asp.See how this was done
| |||
Ignoring user agentsThe next idea was to ignore clickthroughs from all user agents (browsers) except IE, Netscape and Opera. Again, I let them clickthrough, just don't make the advertiser pay for them. The code below shows how this was done:
It was suggested that I also ignored known IP addresses used by spiders. I found an excellent source at Search Engine World that documents these. After investigation however, I noticed that all major spiders except one, Lycos, used very unique user agents. They would all get caught by the user agent check above! Lycos was an exception - their spider sometimes masqueraded as IE 5.0. Luckily, they also have "Lycos_Spider" in the agent string, so I modified the test above to cope with that too:
|