Server IP : 111.118.215.189 / Your IP : 216.73.216.153 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/CGI/Cookie/ |
[ Home ] | [ C0mmand ] | [ 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