inicio mail me! sindicaci;ón

Seek the means of true IP address with ASP

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
GetIp = ProxyElse
GetIp = RealipEnd IfEnd Function

Bookmark:Digg Del.icio.us Reddit

Leave a Comment