I have a Intranet application and i need to store ip Address of the computer using it after logging.
I try the below code but not working.
Dim strIpAddress As String = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If strIpAddress Is Nothing Then
Label2.Text = Request.ServerVariables("REMOTE_ADDR")
End If
Can anybody help in regarding it.
Thanks