Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)

I want to display the user's current (nearly) location. how is it possible in asp.net?
Posted
Comments
Rajesh Anuhya 1-Feb-12 2:54am    
Location mean??
--RA
Anuja Pawar Indore 1-Feb-12 3:13am    
Geo location using google map. Latitude and longitude?
Tejas Vaishnav 1-Feb-12 3:17am    
which type of location you need
Geo location or any thing else...

1 solution

Get his IP address, then do a whois query to find out his company/his service provider and the location.
Well, it is the location of the provider, I tested with my IP and detected Berlin - more than 300 km away, but on a world-wide scale not so wrong either.
 
Share this answer
 
Comments
Jagz W 1-Feb-12 22:18pm    
Sir, Could you please provide any article or code link to make it easy for me?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900