Active Server Pages (ASP) is Microsoft’s first server-side scripting language and engine for web pages that change by time or other circumstances.
Whenever a browser sends a request for a page, it also sends a number of other headers to the script, containing information such as the browser type. It also includes information such as the visitors IP address.
In ASP you can get the IP address of your website users from the
Request.ServerVariables collection. The following ASP code will display the visitor’s IP:
<% Response.Write Request.ServerVariables(“REMOTE_ADDR”) %>