How to find a particular pc name in server if all request come from a proxy server
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
HI, I have used the following code to find the pc name of the client in server, when a request comes
System.Net.Dns.Resolve(Request.ServerVariables("REMOTE_ADDR")).HostName.Split(".")(0).ToString()
This is working fine and able to get the pc name when the request comes with out through a proxy server. But when the request comes through same proxy, for different machines I could get only the proxy name only. Is there any way to get the machine even if it comes through proxy? or at least any way to identify that this the request comes from a proxy so that in server we can restrict. I would really appreciate any help/guidance for this.. Thanks very much in Advance! Rahul.
SoftwareDeveloper(.NET)