ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IP address map to country?

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming
View previous topic :: View next topic  
Author Message
Sharp



Joined: 20 Oct 2004
Posts: 6

PostPosted: Wed Oct 20, 2004 9:57 am    Post subject: IP address map to country? Reply with quote

Is there a way to find out what country my users are coming from in ASP? I know how to get the user's IP address with Request.ServerVariables("REMOTE_ADDR"), but how do I know which country does this IP belong to?


Yours,

Sharp
Back to top
View user's profile Send private message
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Wed Oct 20, 2004 2:07 pm    Post subject: Reply with quote

Welcome to the forums Sharp Smile

There are several companies offering paid databases, which map IP ranges to geographical location. These databases are updated usually 4-6 times a year.

Your second option is to create your own geo/IP database, using publicly available data:

http://arin.net/
http://ripe.net/

Let me know if you need more information.
_________________
Peter
ASP & ASP.NET Articles and Tutorials
Back to top
View user's profile Send private message
Sharp



Joined: 20 Oct 2004
Posts: 6

PostPosted: Wed Oct 20, 2004 3:16 pm    Post subject: Reply with quote

Thanks Peter

I think I'll go with the second option and create the geo-to-IP database myself. I'll be back here if I need any help with the database Smile.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial