Well-known, the means that gets IP address is
| It is quotative content below:
<%=Request.ServerVariables("REMOTE_ADDR" )%> |
But if the client is used acting server, so got the IP that is acting server with this method, the code that penetrates the server gets true IP is below:
| It is quotative content below:
Function GetIp()Dim Realip, proxyRealip = Request.ServerVariables(”HTTP_X_FORWARDED_FOR” )Proxy = Request.ServerVariables(”REMOTE_ADDR” )If Realip = “” Then |
