Get the IP Address and Referer of a visitor

Here is the code snippet to obtain the IP Address and Referer of a visitor to your website

Dim IPAddress=Request.ServerVariables("REMOTE_ADDR")
Dim Referer=Request.ServerVariables("HTTP_REFERER")

Check a demo here

Check my IP

No related posts.

Leave a Reply