Wednesday, August 10, 2011

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")

No comments :

Post a Comment