From: Francis Hwang Date: 2002-05-15T22:39:34+09:00 Subject: possible problem with CGI::Session and eRuby After struggling with eRuby and CGI::Session for a little while, I think I may have discovered something strange with how they are interacting. Or maybe I'm making a newbie mistake, I dunno. Here's the problem: I'm trying to set a session in an .rhtml file, and then retrieve it from another .rhtml file. My browser receives the session cookie, but the path has been set automatically to /cgi-bin/. I'm suspecting that this is because eruby lives in /cgi-bin/. The problem, though, is that when I look for the cookie, my browser won't send it. Because the page is an .rhtml that doesn't actually live in /cgi-bin/ -- it just lives in the document root. Has anybody else had to deal with this problem? Is there a simple workaround I'm missing? Francis