Server IP : 66.29.132.122 / Your IP : 3.147.74.147 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/CGI/Cookie/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: domain rw: RW - !ruby/object:RI::Attribute comment: name: expires rw: RW - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: path rw: RW - !ruby/object:RI::Attribute comment: name: secure rw: R - !ruby/object:RI::Attribute comment: name: value rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse comment: - !ruby/struct:SM::Flow::P body: Class representing an HTTP cookie. - !ruby/struct:SM::Flow::P body: In addition to its specific fields and methods, a Cookie instance is a delegator to the array of its values. - !ruby/struct:SM::Flow::P body: See RFC 2965. - !ruby/struct:SM::Flow::H level: 2 text: Examples of use - !ruby/struct:SM::Flow::VERB body: " cookie1 = CGI::Cookie::new("name", "value1", "value2", ...)\n cookie1 = CGI::Cookie::new("name" => "name", "value" => "value")\n cookie1 = CGI::Cookie::new('name' => 'name',\n 'value' => ['value1', 'value2', ...],\n 'path' => 'path', # optional\n 'domain' => 'domain', # optional\n 'expires' => Time.now, # optional\n 'secure' => true # optional\n )\n\n cgi.out("cookie" => [cookie1, cookie2]) { "string" }\n\n name = cookie1.name\n values = cookie1.value\n path = cookie1.path\n domain = cookie1.domain\n expires = cookie1.expires\n secure = cookie1.secure\n\n cookie1.name = 'name'\n cookie1.value = ['value1', 'value2', ...]\n cookie1.path = 'path'\n cookie1.domain = 'domain'\n cookie1.expires = Time.now + 30\n cookie1.secure = true\n" constants: [] full_name: CGI::Cookie includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: secure= - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: value= name: Cookie superclass: DelegateClass(Array)