CGI: error with URL and RemoteAddr


2004-04-25 05:46:23 AM
delphi126
Hi,
I am using D7E writing a CGI app running on IIS5. Delphi's documentation
says that the TWebRequest class has the properties
URL
RemoteAddr
I tested these properties and found out that
URL is always empty rather than giving the original URL
RemoteAddr always gives the own server's IP rather than the client's IP
Why? Is this a common behavior? I need the client's IP for tracking of
session data, counting of unique visits/hits etc. Did I wrong? Did I
understand wrong? Or is it a Delphi (or whatever) bug?
Thx for any hints.
Andi