Hi! I need to get the computer name of the machine who initiated a request.
The application is running on a company intranet. I tried to use request.getRemoteHost(), but that function returns the actual name if im not using a proxy.. When I am using a proxy, the name of the proxy is returned and not the actual computer name.
to cache internet traffic for speed enhancements or to watch 'usage'... outgoing requests from the proxy to the internet are all from the same host or small collection of hosts. The proxies themselves will not respond to your name resolution requests.
Check out http://www.squid-cache.org/ If you'd like to get a better understanding of the what/why/where of a proxy. [ January 06, 2006: Message edited by: Morgan Christian ]
**<br />Still trying to code myself out of this wet paper bag...
If having the name of the computer is critical to your application and you really need it on the server side, one option would be to simply ask the user to enter it and then pass it along as a parameter to your servlet.