1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

1.6.2 (to be)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-10-17 18:14:05 +00:00
parent d51bcd2007
commit 1b2d3f81ee
8 changed files with 75 additions and 17 deletions

View file

@ -52,7 +52,8 @@ class CGI
request.instance_eval do
@output_hidden = {session_key => id}
@output_cookies = [
Cookie::new(session_key => id,
Cookie::new("name" => session_key,
"value" => id,
"path" => if ENV["SCRIPT_NAME"] then
File::dirname(ENV["SCRIPT_NAME"])
else
@ -84,6 +85,10 @@ class CGI
@dbman.update
end
def close
@dbman.close
end
def delete
@dbman.delete
end