cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Thénot <andre-li...@thenot.org>
Subject Re: get-remote-address - get-remote-host
Date Tue, 26 Apr 2005 17:07:10 GMT
On Apr 26, 2005, at 4:52, beyanet.com wrote:

>> Hi,
>> Try this:
>> var clientIp =  cocoon.request.getRemoteAddr();
>
> Hi Tony,
> I tried the above code you mentioned but it only ever seems to return 
> 127.0.0.1 which is no ones IP address!
>
> Is this function working properly as it does say that it returns the 
> IP address of the requesting client?

Is your web browser running on the same machine as Cocoon? If so, this 
is normal.

A.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message