Request.ServerVariables("Remote_Addr") will give the remote IP address of
the TCP endpoint. If the remote user is using a proxy server, then you will
get the proxy server's IP address. If you are using your own reverse-proxy
server, you will probably see your own reverse-proxy's IP address. If the
client is connecting directly to your server, you should see the client's IP
address.
The Remote_addr property is derived from what the Windows TCP/IP stack is
seeing - it should be seeing, in the TCP packets, what the remote IP address
is - this is where IIS is sending the webpage response to. If you are seeing
www.xx.com, then IIS is sending the response back to
www.xx.com.
Cheers
Ken
"Savas Ates" <sa***@indexinteractive.com> wrote in message
news:eg*************@TK2MSFTNGP11.phx.gbl...
: i have a banner for example at
www.xx.com and my site is
www.yy.com..
banner
: has a link
www.yy .com .. directed to my site.. when a user click banner
: and i use this method
: --request.ServerVariables("REMOTE_ADDR")-- i take the
www.xx.com server
ip..
: i want to take ip number of the client who click the banner. what is the
: problem? i cant solve it..
: must it give the client number? i tried it but it doesnt.. it gives the
:
www.xx.com 's server ip? what can i do?
:
: