Board index » delphi » TWebRequest problems
Andi
![]() Delphi Developer |
TWebRequest problems2004-05-10 09:07:58 PM delphi94 Hi, I wrote a CGI app (testapp.exe) which in the default TWebActionItem.OnAction event has the (only) following line: Response.Content := 'URL: ' + Request.URL; When calling this CGI from my browser I should see something like: URL: www.mydomain.de/cgi-bin/testapp.exe But what I see is: URL: The URL property is empty! Why? Another problem concerning the RemoteAddr property: I changed the above line to: Response.Content := 'RemoteAddr: ' + Request.RemoteAddr; When calling this from my browser I should see something like: RemoteAddr: <IP of my client PC> Instead I get: RemoteAddr: <IP of the server> So I never get the romote IP but the server's IP. Why? Thx Andi Btw: D7E on IIS5 |