Project

General

Profile

Bug #605

CGI::Session : ignore session_key and session_id options

Added by xibbar (Takeyuki FUJIOKA) almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
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

Related to Ruby master - Bug #572: CGI::Session : ignore session_key and session_id optionsClosed09/17/2008Actions

Associated revisions

Revision f6d905c0
Added by xibbar (Takeyuki FUJIOKA) over 10 years ago

  • lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 20884
Added by xibbar (Takeyuki FUJIOKA) over 10 years ago

  • lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]

Revision b0fc5e54
Added by shyouhei (Shyouhei Urabe) over 10 years ago

merge revision(s) 20884:
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision bffc1805
Added by shyouhei (Shyouhei Urabe) over 10 years ago

merge revision(s) 20884:
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1

Updated by xibbar (Takeyuki FUJIOKA) over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r20884.
=end

Also available in: Atom PDF