From: Takeyuki Fujioka Date: 2008-09-17T10:05:36+09:00 Subject: [ruby-core:18639] [Bug #572] CGI::Session : ignore session_key and session_id options Bug #572: CGI::Session : ignore session_key and session_id options http://redmine.ruby-lang.org/issues/show/572 Author: Takeyuki Fujioka Status: Open, Priority: Normal Category: lib cgi = CGI.new("html4") sess = CGI::Session.new(cgi, "new_session" => true, "session_key" => "foo", "session_id" => "bar") will not create a session whre sess.session_id == "bar" cgi = CGI.new("html3") sess = CGI::Session.new( cgi, "session_key" => "rubyweb", "session_id" => "9650", "new_session" => true, "prefix" => "web-session.") sess["CustID"] = 123 sess["Part"] = "ABC" This will send a cookie to the user named ``rubyweb'' with a value of 9650. It will also create a disk file in $TMP/web-session.9650 with the key, value pairs for CustID and Part. reported from [ruby-core:18635] ---------------------------------------- http://redmine.ruby-lang.org