ivylnm
asked on
Get Client IP Address via TWebRequest in ISAPI web server application
i recently developed one web server ISAPI application via Delphi ...a dll is generated ...
i hope to get client user ip address ...so, i use TwebRequest.remoteIP ....however, it comes out internal IP address which is 192.168.0.xxx, is there anyway i can get their external IP address which can uniquely identify each client user ?
thanks
i hope to get client user ip address ...so, i use TwebRequest.remoteIP ....however, it comes out internal IP address which is 192.168.0.xxx, is there anyway i can get their external IP address which can uniquely identify each client user ?
thanks
TWebRequest.RemoteAddr ?!
ASKER
oh ..sorry ...my mistake... i use both TWebRequest.RemoteAddr and TWebRequest.RemoteHost ....but, it is still the same ...giving me the internal IP Address ...not the external IP ..any idea ?
thanks
thanks
maybe you connect to local network or remote via VPN ... where is the client located ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried to access my dll outside a LAN, but it always give me 192.168.0.11, i did install firewall in my LAN, is it because of the firewall settings ?
i just want to uniquely identify each user who access my dll .....
i just want to uniquely identify each user who access my dll .....
I have no idea what exactly you are doing there, but this works.
Can you create a simple DLL, which output the RemoteAddr and give me the URL... ?
Can you create a simple DLL, which output the RemoteAddr and give me the URL... ?