D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-ruby27
/
root
/
usr
/
share
/
gems
/
doc
/
rack-2.2.10
/
ri
/
Rack
/
Session
/
Pool
/
Filename :
cdesc-Pool.ri
back
Copy
U:RDoc::NormalClass[iI" Pool:ETI"Rack::Session::Pool;TI"-Rack::Session::Abstract::PersistedSecure;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"JRack::Session::Pool provides simple cookie based session management. ;TI"5Session data is stored in a hash held by @pool. ;TI"CIn the context of a multithreaded environment, sessions being ;TI"7committed to the pool is done in a merging manner.;To:RDoc::Markup::BlankLine o; ;[I"JThe :drop option is available in rack.session.options if you wish to ;TI":explicitly remove the session from the session cache.;T@o; ;[I" Example:;To:RDoc::Markup::Verbatim;[I"myapp = MyRackApp.new ;TI"0sessioned = Rack::Session::Pool.new(myapp, ;TI" :domain => 'foo.com', ;TI" :expire_after => 2592000 ;TI") ;TI")Rack::Handler::WEBrick.run sessioned;T:@format0: @fileI"lib/rack/session/pool.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I" mutex;TI"R;T:publicFI"lib/rack/session/pool.rb;T[ I" pool;T@(;F@)[U:RDoc::Constant[i I"DEFAULT_OPTIONS;TI")Rack::Session::Pool::DEFAULT_OPTIONS;T;0o;;[ ; @$;0@$@cRDoc::NormalClass0[ [[I" class;T[[;[[I"new;T@)[:protected[ [:private[ [I" instance;T[[;[ [I"delete_session;T@)[I"find_session;T@)[I"generate_sid;T@)[I"with_lock;T@)[I"write_session;T@)[;[ [;[[I"get_session_with_fallback;T@)[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@$I"Rack::Session;TcRDoc::NormalModule