I thought it was for some reason like that and I guess more environments are closing that option off.
-----Original Message----- From: David Rees [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 6:02 PM To: Tomcat Users List Subject: Re: Session hijacking with Tomcat/Myfaces - unable to fix it On 8/16/06, Propes, Barry L <[EMAIL PROTECTED]> wrote: > From: Maurice Yarrow [mailto:[EMAIL PROTECTED] >> Generally, getRemoteHost() and getRemoteAddr() return >> the same value, but I had found a situation during testing >> where getRemoteAddr() returned an IP address but >> getRemoteHost() returned nothing. (That was two months >> ago, and I can't, at this time, remember the exact >> conditions under which this occurred.) > > yeah, I've found that, too, although getRemoteHost theoretically > should return the machine name in many cases, but sometimes it won't. It does't always return a host name because getRemoteHost does a reverse DNS lookup on the IP address, which doesn't return a hostname if the DNS servers are either not responding quickly enough or if there was no reverse hostname assigned to the IP address. -Dave --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]