| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/CGI/Cookie/ |
Upload File : |
U:RDoc::NormalClass[iI"Cookie:ETI"CGI::Cookie;TI"
Array;To:RDoc::Markup::Document:@parts[o;;[
o:RDoc::Markup::Paragraph;[I"'Class representing an HTTP cookie.;To:RDoc::Markup::BlankLine o; ;[I"GIn addition to its specific fields and methods, a Cookie instance ;TI"/is a delegator to the array of its values.;T@o; ;[I"See RFC 2965.;T@S:RDoc::Markup::Heading:
leveli: textI"Examples of use;To:RDoc::Markup::Verbatim;[!I"@cookie1 = CGI::Cookie.new("name", "value1", "value2", ...)
;TI"Ecookie1 = CGI::Cookie.new("name" => "name", "value" => "value")
;TI"5cookie1 = CGI::Cookie.new('name' => 'name',
;TI"H 'value' => ['value1', 'value2', ...],
;TI"B 'path' => 'path', # optional
;TI"B 'domain' => 'domain', # optional
;TI"B 'expires' => Time.now, # optional
;TI"B 'secure' => true, # optional
;TI"B 'httponly' => true # optional
;TI"! )
;TI"
;TI":cgi.out("cookie" => [cookie1, cookie2]) { "string" }
;TI"
;TI"name = cookie1.name
;TI"values = cookie1.value
;TI"path = cookie1.path
;TI"domain = cookie1.domain
;TI" expires = cookie1.expires
;TI"secure = cookie1.secure
;TI"!httponly = cookie1.httponly
;TI"
;TI"cookie1.name = 'name'
;TI"2cookie1.value = ['value1', 'value2', ...]
;TI"cookie1.path = 'path'
;TI"!cookie1.domain = 'domain'
;TI"&cookie1.expires = Time.now + 30
;TI"cookie1.secure = true
;TI"cookie1.httponly = true;T:@format0:
@fileI"lib/cgi/cookie.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[
I"domain;TI"RW;T:publicFI"lib/cgi/cookie.rb;T[
I"expires;TI"RW;T;F@>[
I"
httponly;TI"R;T;F@>[
I" name;TI"RW;T;F@>[
I" path;TI"RW;T;F@>[
I"secure;TI"R;T;F@>[ [ [[I"
class;T[[;[[I"new;T@>[I"
parse;F@>[:protected[ [:private[ [I"
instance;T[[;[[I"httponly=;F@>[I"inspect;F@>[I"secure=;F@>[I" to_s;F@>[I"
value;F@>[I"value=;F@>[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@9I"lib/cgi/core.rb;TI"lib/cgi/session.rb;TI"CGI;TcRDoc::NormalClass