diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-19 05:56:09 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-19 05:56:09 +0000 |
commit | 2753f846938e5edfd164de9d1c72d5bce7c593ec (patch) | |
tree | 15aff53955adad0d278851c21030857a07bd2f5f /lib | |
parent | 815106b114792039d8362f3cfc683d5b61d28ec5 (diff) | |
download | ruby-2753f846938e5edfd164de9d1c72d5bce7c593ec.tar.gz ruby-2753f846938e5edfd164de9d1c72d5bce7c593ec.tar.xz ruby-2753f846938e5edfd164de9d1c72d5bce7c593ec.zip |
* array.c (sort_2): *a - *b may overflow.
* array.c (ary_new): len*sizeof(VALUE) may be a positive value.
* array.c (rb_ary_initialize): ditto.
* object.c (rb_class_allocate_instance): move singleton class
check from rb_obj_alloc().
* re.c (rb_reg_initialize): should not modify frozen Regexp.
* ext/tcltklib/tcltklib.c (ip_init): allocation framework.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cgi/session.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cgi/session.rb b/lib/cgi/session.rb index 5709178d0..64a7bd701 100644 --- a/lib/cgi/session.rb +++ b/lib/cgi/session.rb @@ -55,6 +55,9 @@ class CGI @output_cookies = [ Cookie::new("name" => session_key, "value" => id, + "expires" => option['session_expires'], + "domain" => option['session_domain'], + "secure" => option['session_secure'], "path" => if option['session_path'] then option['session_path'] elsif ENV["SCRIPT_NAME"] then |