Solved

IP Detection & Location

Posted on 2010-11-19
5
514 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 13

Expert Comment

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

738 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