Actions
Bug #605
closedCGI::Session : ignore session_key and session_id options
Description
=begin
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]
=end
Actions
Like0
Like0