• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • Last Modified:

IP Detection & Location

Hello Experts

I'mm building a site that will offer services in several cities and I'm looking for any ideas on how can i detect the visitor's ip address (as many sites doo), figure its location and durect  them to the nearest city available.

Partially this would be like www.whatismyip.com and i think its fairly easy to capture the ip address?

Secondly, how do i determine the location of a ip? is there a formula or database?.

And finally, how would i find the closest city available - would i use somehow a GPS system, or lattitude/langitude, etc?

any ideas will be truly appreciated.
0
APD Toronto
Asked:
APD Toronto
  • 3
1 Solution
 
Molnar IstvánHelpDesk / ProgrammerCommented:
if you are developing in asp.net you can use the free control of subgurim, here is an example to ip locate on map:
http://en.googlemaps.subgurim.net/ejemplos/ejemplo_99999999_GeoIP.aspx
0
 
APD TorontoAuthor Commented:
What about classic asp?

can i easily pass to aspx w/o any aspx knowledge?
0
 
Molnar IstvánHelpDesk / ProgrammerCommented:
i found something in asp classic:
http://www.codeproject.com/kb/asp/geoip.aspx

0
 
kevp75Commented:
Mos of the time you can connect to a webservice to do this
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now