when ever you want to find the IP Adress of client use one of these two Response.Write(Request.UserHostAddress) or
Response.Write(Request.ServerVariables(“LOCAL_ADDR”))
But remember one thing you have to access this web page with server address as
http://yourSyatemIP(or)Servername/projectName/page.aspx
not with localhost likeĀ
http://localhost/projectName/page.aspx
Below code is to find the Different types of server variables
Dim NameArray() As String
Dim VisitorSV As NameValueCollection
Dim I As Integer
VisitorSV = [...]
Archive for July, 2008
Client IP Address
Posted in Uncategorized on July 9, 2008 | 2 Comments »