Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: tracking client country origin


Message #1 by "Hema.R" <hema.r@s...> on Tue, 7 Aug 2001 09:51:10
i want to know if country from where client request is originating can be 

found
Message #2 by <ajay?ndel@y...> on Tue, 7 Aug 2001 09:31:17 -0400
Yes you can trace the country from where the client is originating.....You

can extract the IP address by server variables and then your system

administrator can decipher it to find the gateway...But the IP address is

not very reliable ...Still  you  can find the country of origin atleast.



Ajay





----- Original Message -----

From: "Hema.R" <hema.r@s...>

To: "asp_discuss" <asp_discuss@p...>

Sent: Tuesday, August 07, 2001 9:51 AM

Subject: [asp_discuss] tracking client country origin





> i want to know if country from where client request is originating can be

> found

> ---

Message #3 by Bala Ramachandran <bala_isme@y...> on Tue, 7 Aug 2001 18:47:48 -0700 (PDT)
Hi Ajay...

            Tracing IP address is Ok.. Using IP

Address how to find out the country.. In yr words,

what the sytem admin does to find out the origin using

IP?.. Thanx.





--- Ajay <ajay_ndel@y...> wrote:

> Yes you can trace the country from where the client

> is originating.....You

> can extract the IP address by server variables and

> then your system

> administrator can decipher it to find the

> gateway...But the IP address is

> not very reliable ...Still  you  can find the

> country of origin atleast.

> 

> Ajay

> 

> 

> ----- Original Message -----

> From: "Hema.R" <hema.r@s...>

> To: "asp_discuss" <asp_discuss@p...>

> Sent: Tuesday, August 07, 2001 9:51 AM

> Subject: [asp_discuss] tracking client country

> origin

> 

> 

> > i want to know if country from where client

> request is originating can be

> > found



Message #4 by Ajay Jain <ajay_ndel@y...> on Tue, 7 Aug 2001 20:01:11 -0700 (PDT)
Hi bala,



The administrator can deipher the octets and find out

from your service provider the gateway from which the

request is coming...I am not very sure which octet

actually contains this info.. With this octet you can

find out the country in which this gateway exists.

Every gateway has a particular no.



Ajay





--- Bala Ramachandran <bala_isme@y...> wrote:

> Hi Ajay...

>             Tracing IP address is Ok.. Using IP

> Address how to find out the country.. In yr words,

> what the sytem admin does to find out the origin

> using

> IP?.. Thanx.

> 

> 

> --- Ajay <ajay_ndel@y...> wrote:

> > Yes you can trace the country from where the

> client

> > is originating.....You

> > can extract the IP address by server variables and

> > then your system

> > administrator can decipher it to find the

> > gateway...But the IP address is

> > not very reliable ...Still  you  can find the

> > country of origin atleast.

> > 

> > Ajay

> > 

> > 

> > ----- Original Message -----

> > From: "Hema.R" <hema.r@s...>

> > To: "asp_discuss" <asp_discuss@p...>

> > Sent: Tuesday, August 07, 2001 9:51 AM

> > Subject: [asp_discuss] tracking client country

> > origin

> > 

> > 

> > > i want to know if country from where client

> > request is originating can be

> > > found



Message #5 by "Hema R." <hema.r@s...> on Wed, 8 Aug 2001 09:35:21 +0530
hi bala and ajay,



actually we can find using the ip as u said.

but of course this is done by manually verifying whether the IP digits

against a set of ones we have or ripe database for example.



But the actual problem here is that ;I need to know the country from where

requests orginate

as my response depends on that.To say exactly i need to track if the request

is coming from  UK

 else i should pass on a sorry message saying that the user cannot access

this

site due to his geographical location.



Regards

hema



> -----Original Message-----

> From:	Ajay Jain [SMTP:ajay_ndel@y...]

> Sent:	07 August Tuesday 2001 08:01 PM

> To:	asp_discuss

> Subject:	[asp_discuss] Re: tracking client country origin

> 

> Hi bala,

> 

> The administrator can deipher the octets and find out

> from your service provider the gateway from which the

> request is coming...I am not very sure which octet

> actually contains this info.. With this octet you can

> find out the country in which this gateway exists.

> Every gateway has a particular no.

> 

> Ajay

> 

> 

> --- Bala Ramachandran <bala_isme@y...> wrote:

> > Hi Ajay...

> >             Tracing IP address is Ok.. Using IP

> > Address how to find out the country.. In yr words,

> > what the sytem admin does to find out the origin

> > using

> > IP?.. Thanx.

> > 

> > 

> 

Message #6 by Robert Illing <Robert.Illing@f...> on Thu, 9 Aug 2001 09:00:39 +0100
A less reliable method (but easier to implement) would be to use

"window.navigator.userLanguage" or "window.navigator.systemLanguage", or

even "window.navigator.browserLanguage".  It depends on what you need to do.



For example, someone in the UK should have this set to "en-gb English",

someone in Germany should have it set to "de German", etc...



You can retrieve this with some client side script, and then submit it back

to the server.  However, as far as I know, there's nothing in the

"response.servervariables" collection that gives you locale.



Cheers,



Rob



-----Original Message-----

Subject: Re: tracking client country origin

From: Bala Ramachandran <bala_isme@y...>

Date: Tue, 7 Aug 2001 18:47:48 -0700 (PDT)

X-Message-Number: 1



Hi Ajay...

            Tracing IP address is Ok.. Using IP

Address how to find out the country.. In yr words,

what the sytem admin does to find out the origin using

IP?.. Thanx.






  Return to Index