473,799 Members | 3,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1717
"amgu" <am**@discussio ns.microsoft.co mwrote in message
news:8A******** *************** ***********@mic rosoft.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
5528
by: T0MA | last post by:
How can I view visitors country using php/apache?
2
1448
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, where is that ip address located in. I do the following procedure that works fine, but i would like to automate it.
5
1364
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 without my ISP notified. That's lots of pages blocked in my country, so that's why I think maybe I can do it with ASP? Any suggestions? THX
9
2860
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
1621
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 display '$10' or '£7' sort of thing! I was planning on having a map on my opening screen with hotspots over the countries. On the links for the hot spots I was planning to have something like href="functions.php?FuncToExec=countrySelectUS"> in the...
2
3562
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 system that will identify where the users are coming from based on their IP address, and for this project I would really like to replace the English country list with a list of the country in the local language. I'm been around on
7
1924
by: Lloyd Dupont | last post by:
from the IP of the request ?
13
3117
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
2091
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")) { $errmsg = "Cannot connect to database"; }
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10485
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10252
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10231
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9073
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4141
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.