Finding Ip Address and storingI 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")
Can anybody help in regarding it.