Is there a way to get ip address by using ASP page? If so, how? Thanks.
Printable View
Is there a way to get ip address by using ASP page? If so, how? Thanks.
Yes, the REMOTE_HOST or REMOTE_ADDR CGI variables should hold the IP. (REMOTE_HOST may get the server name or the ip address).
Code:Response.Write Request.ServerVariables("REMOTE_ADDR")