D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby22
/
lib64
/
ruby
/
gems
/
2.2.0
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
Session
/
Memcache
/
Filename :
cdesc-Memcache.ri
back
Copy
U:RDoc::NormalClass[iI" Memcache:ETI"Rack::Session::Memcache;TI" Rack::Session::Abstract::ID;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"NRack::Session::Memcache provides simple cookie based session management. ;TI"KSession data is stored in memcached. The corresponding session key is ;TI"maintained in the cookie. ;TI"IYou may treat Session::Memcache as you would Session::Pool with the ;TI"following caveats.;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[ I"JSetting :expire_after to 0 would note to the Memcache server to hang ;TI"Honto the session data until it would drop it according to it's own ;TI"Ispecifications. However, the cookie sent to the client would expire ;TI"immediately.;T@o; ;[I"NNote that memcache does drop data before it may be listed to expire. For ;TI"Ja full description of behaviour, please see memcache's documentation.;T: @fileI"!lib/rack/session/memcache.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[ I" mutex;TI"R;T:publicFI"!lib/rack/session/memcache.rb;T[ I" pool;T@(;F@)[U:RDoc::Constant[i I"DEFAULT_OPTIONS;FI"-Rack::Session::Memcache::DEFAULT_OPTIONS;T00o;;[ ;@$;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;TcRDoc::NormalModule