Solved

IP Detection & Location

Posted on 2010-11-19
5
515 Views
Last Modified: 2012-05-10
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
Comment
Question by:APD_Toronto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 13

Expert Comment

by:Molnar István
ID: 34175990
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
 

Author Comment

by:APD_Toronto
ID: 34176140
What about classic asp?

can i easily pass to aspx w/o any aspx knowledge?
0
 
LVL 13

Accepted Solution

by:
Molnar István earned 500 total points
ID: 34176191
i found something in asp classic:
http://www.codeproject.com/kb/asp/geoip.aspx

0
 
LVL 25

Expert Comment

by:kevp75
ID: 34183293
Mos of the time you can connect to a webservice to do this
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question