Hello Friends.
I need your one help.
if i use following ip system shows wrong information about ip location.
s = Context.Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If s = "" Then
s = Context.Request.ServerVariables("REMOTE_ADDR")
End If
I have tried it both ; client & server side.
From Client Side it shows 127.0.0.1 and from server side it shows my ip 192.---.---.--- .
But if i try to find my ip from other sides it shows exact location with another ip.
How can i solve this problem using vb.net or c#?
I have a javascript.
If anybody help me to pass value from javascript to vb.net or c# before postback then i can solve this problem easily.
Please Help Me.
:)