asp: how to get ip address?
This site provides users with the information about asp, how to get ip address, how to find ip address, and more.
If you think that this site is helpful, please recommend your friends to visit our site.
How to get ip address in asp?
The following is the code to find ip address in asp:
sIPAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If sIPAddress="" Then
sIPAddress = Request.ServerVariables("REMOTE_ADDR")