Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Foreign visitor warning

and a method of detecting foreign visitors for IIS



8:29 pm on Feb 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I got a 'friendly' call friday saying that I was getting too many foreign visitors. After 4 months I thought I would avoid this issue but no.

As you may be aware I've been begging for some help on getting a SIMPLE method for detecting foreign visitors on an IIS server with plain old html pages.

Finally got a solution which in the end only took an hour or two of work + 5 hours of pasting the include statement.

1) told my hosting service to let the ASP processor parse .htm pages.
2) downloaded the maxmind geoip.csv database and loaded it in to an Access DB
3) wrote a little asp include file to lookup the visitor IP with a query after doing the calculation to change IP to IP Number provided by Maxmind.

bingo. done!
If anyone wants to use this method I'll give them the asp code.


9:30 pm on Feb 25, 2006 (gmt 0)

Did they say how much was too much?


9:51 pm on Feb 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

They would not tell me anything further. I asked every question you can think of and null was the answer.

At least I'll know now whether they are really blocking foreign IPs. My total revenue should go up significantly if they were blocking them, otherwise it will go down. I bet it will go down.


3:59 am on Mar 3, 2006 (gmt 0)

WebmasterWorld Senior Member ann is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Any word on when it goes international?

A lot of people who went to that trouble is going to be a bit put out with them when they do, I'll bet.

I am still hanging back just waiting to see what and when. Their method is no competition to other ad companies at the snails pace they are moving.


Featured Threads

Hot Threads This Week

Hot Threads This Month