Re: SSL Troubleshotting

2009-02-05 Thread George Domurot
try adding this method to your session class: /** Returns the IP address of the client. * This should return accurate information whether in direct connect or webserver deployment mode. * @return The IP address as a string. */ public String clientIPAddress() {

Re: SSL Troubleshotting

2009-02-05 Thread Patrick Middleton
Without even looking, I'd guess that ERXRequest.remoteHostAddress() is looking for an HTTP header REMOTE_ADDR (this is not really an HTTP header, it's a CGI environment variable, but WebObjects presents it as a header). I have under some circumstances that I can't remember found that some

Re: SSL Troubleshotting

2009-02-05 Thread Amedeo Mantica
No one know anything about?? :-( On 04/feb/09, at 12:49, Amedeo Mantica wrote: Hi, To prevent session hijacking i generally use the sender ip verification ( ERXRequest.remoteHostAddress() ) and works fine for http requests, but when we ae il SSL mode, WebObjects see all requests coming f

SSL Troubleshotting

2009-02-04 Thread Amedeo Mantica
Hi, To prevent session hijacking i generally use the sender ip verification ( ERXRequest.remoteHostAddress() ) and works fine for http requests, but when we ae il SSL mode, WebObjects see all requests coming from 127.0.0.1 (and tecnically is right) Now how to get the real ip address of th