Also, if you're using a local proxy (as descibed in
http://wiki.apache.org/cocoon/ApacheModProxy)  you'll get the proxy's
IP, not the remote user.


2005/4/26, Andr� Th�not <[EMAIL PROTECTED]>:

> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to