users@glassfish.java.net

REMOTE_HOST is being cached

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 Apr 2010 06:23:41 PDT

Hello,

I'm running a rails app on Glassfish with a standalone JRuby 1.5.0RC1.

My rails app e fetching the hostname using request.env['REMOTE_HOST']. It's working fine for the first request. But if I try accessing the same URL from a different machine, it returns the same hostname as the first client that accessed it. This is not related to the page caching mechanism of rails. This problem does not exist when I launch the application using webrick.

 I'd appreciate any help possible.
[Message sent by forum member 'pmma']

http://forums.java.net/jive/thread.jspa?messageID=398465