asp: how to get ip address?
Website Design
Website Promotion
Graphic Design
Programming
Free Software
Computer Tips
Discount Stores
|
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:
< %
Dim sIPAddress
sIPAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If sIPAddress="" Then
sIPAddress = Request.ServerVariables("REMOTE_ADDR")
end if
response.write sIPAddress
% >
|