ok
Direktori : /opt/alt/ruby20/lib64/ruby/gems/2.0.0/doc/rack-1.6.4/ri/Rack/Session/Pool/ |
Current File : //opt/alt/ruby20/lib64/ruby/gems/2.0.0/doc/rack-1.6.4/ri/Rack/Session/Pool/cdesc-Pool.ri |
U:RDoc::NormalClass[iI" Pool:EFI"Rack::Session::Pool;FI" Rack::Session::Abstract::ID;Fo: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;FI")Rack::Session::Pool::DEFAULT_OPTIONS;F00o;;[ ; @$;0@$@cRDoc::NormalClass0[ [[I" class;T[[;[[I"new;T@)[:protected[ [:private[ [I" instance;T[[;[ [I"destroy_session;F@)[I"generate_sid;F@)[I"get_session;F@)[I"set_session;F@)[I"with_lock;F@)[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@$I"Rack::Session;FcRDoc::NormalModule