And just like in jsp it is not reliable. It is the reported ip address of the client as reported in the http header. If the request was sent thru a firewall it will be the ip of the firewall, not the real client. I would only plan application functionality using this where you know it will be run on a homogenous network with no proxies or firewalls between clients and the web server.

Suo Cong wrote:

Hello Florian,

It works! Thanks!

Regards,
Suo

"Florian Backes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

Hello Suo,


Does anybody know how to get the client IP address of a request? Like
in Jsp request.getRemoteAddr()?

try

%request.CgiEnvs("REMOTE_ADDR")

HTH
Florian





--
Bill McCormick
Web/Objects Support Manager
InterSystems Corporation
[EMAIL PROTECTED]



Reply via email to