Creating sessions with a specified cookie path

Is there any way to specify the path in the cookie that gets created on
CGI::Session.new? My problem is that a session created on a script
residing under /some/page.rbx has that path embedded in the cookie.
Hence, it’s not available for /other/page.rbx.

/ David

Is there any way to specify the path in the cookie that gets created on
CGI::Session.new? My problem is that a session created on a script
residing under /some/page.rbx has that path embedded in the cookie.
Hence, it's not available for /other/page.rbx.

Have you tried with

  CGI::Session.new(cgi, "session_path" => "/some/path")

Guy Decoux

Have you tried with

CGI::Session.new(cgi, “session_path” => “/some/path”)

Excuse my ignorance. My bad for believing that it wouldn’t exist just
because it wasn’t listed in Programming Ruby
(http://www.rubycentral.com/book/lib_network.html).

/ David