AlkantarClanX12
Current Path : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Session/Pool/ |
Current File : //opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Session/Pool/cdesc-Pool.ri |
U:RDoc::NormalClass[iI" Pool:EFI"Rack::Session::Pool;FI"Abstract::ID;Fo:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"IRack::Session::Pool provides simple cookie based session management.;FI"4Session data is stored in a hash held by @pool.;FI"BIn the context of a multithreaded environment, sessions being;FI"7committed to the pool is done in a merging manner.;Fo:RDoc::Markup::BlankLine o; ;[I"IThe :drop option is available in rack.session.options if you wish to;FI":explicitly remove the session from the session cache.;F@o; ;[I" Example:;Fo:RDoc::Markup::Verbatim;[I"myapp = MyRackApp.new ;FI"0sessioned = Rack::Session::Pool.new(myapp, ;FI" :domain => 'foo.com', ;FI" :expire_after => 2592000 ;FI") ;FI")Rack::Handler::WEBrick.run sessioned;F: @fileI"lib/rack/session/pool.rb;F;0[[ I" mutex;FI"R;F:publicF@$[ I" pool;F@(; F@$[[I"DEFAULT_OPTIONS;Fo;;[ ;0@$[ [[I" class;F[[; [[I"new;F@$[:protected[ [:private[ [I" instance;F[[; [ [I"destroy_session;F@$[I"generate_sid;F@$[I"get_session;F@$[I"set_session;F@$[I"with_lock;F@$[;[ [;[