473,385 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to Retrive Country and other info from IP address using asp

Hello

I am looking for a asp.net code so that we can incorporate the code which
can help us to retrive the country and other infromation through IP address
of the visitor for the website.

amgu
Dec 18 '07 #1
2 1700
"amgu" <am**@discussions.microsoft.comwrote in message
news:8A**********************************@microsof t.com...
Hello

I am looking for a asp.net code so that we can incorporate the code which
can help us to retrive the country and other infromation through IP
address
of the visitor for the website.
Are you aware that the most you could do is to determine the authority that
issued the IP address? This may or may not be adequate for your needs. For
instance, if you checked my work IP address, you would find that I'm located
in Chicago, IL, US. But I'm actually in Boston, MA, US.

My understanding is that there are various companies that offer information
on the issuer of IP address blocks, but that this information cannot be
determined via code.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Dec 18 '07 #2
That is not possible via code unless you have a lookup database to verify IP
addresses against. Even then your results cannot be that accurate. You can
probably buy the lookup data from a third party or you can also use a third
party software that processes your web logs and provide you with the reports
you need.

You may also use a third party webservice to get the information. This I
know is available through http://www.dnsstuff.com

Good luck.

--
Mohamad Elarabi
Lead Developer. MCTS, MCPD.
"amgu" wrote:
Hello

I am looking for a asp.net code so that we can incorporate the code which
can help us to retrive the country and other infromation through IP address
of the visitor for the website.

amgu
Dec 19 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: T0MA | last post by:
How can I view visitors country using php/apache?
2
by: Robert | last post by:
Hosting: Windows 2003 Server, Asp3.0 , Asp.Net supported. I use asp cdosys for visitors to email me a form containing the message they type, + their ip address. I need to verify for statistic,...
5
by: Hoa | last post by:
HI *.* I want to get the content of a web site from mine and show it, in this process I want to get anonymously so that whenever I goto my page and type the name of a site, my browser show that...
9
by: jonathanthio | last post by:
Say if the visitors come from German I'd redirect them to German website, if vistors from USA, I'd redirect them to USA websites. Is there a way to do this with javascript?
8
by: Nicole | last post by:
Hi I need to be able to change the currency and some form fields displayed on my website depending on where the visitor is based. I don't need a fully functional cart, just a kinda either...
2
by: Zyron | last post by:
Hello! I'm developing a web page that has a goal of providing personal content, which means that all information should be written in their own language. I'm about to finish my Geo targeting...
7
by: Lloyd Dupont | last post by:
from the IP of the request ?
13
by: bushi | last post by:
hi everyone! i want to get the ipaddress,and the country name of a webpage visitor,using asp.Net(C#).if anyone knows about it,plz rply me. thanx in advance.
3
by: Eminosoft | last post by:
The below code can't take the images.plz tell that what is the problem in that code <?php // Connect to database $errmsg = ""; if (! @mysql_connect("localhost","root","sreeni")) { ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.