Project

General

Profile

Actions

Bug #605

closed

CGI::Session : ignore session_key and session_id options

Added by xibbar (Takeyuki FUJIOKA) about 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
[ruby-core:18974]

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


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #572: CGI::Session : ignore session_key and session_id optionsClosedxibbar (Takeyuki FUJIOKA)09/17/2008Actions
Actions

Also available in: Atom PDF

Like0
Like0