D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
gems
/
1.9.1
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
Session
/
Memcache
/
Filename :
cdesc-Memcache.ri
back
Copy
U:RDoc::NormalClass[iI" Memcache:EFI"Rack::Session::Memcache;FI"Abstract::ID;Fo:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"MRack::Session::Memcache provides simple cookie based session management.;FI"JSession data is stored in memcached. The corresponding session key is;FI"maintained in the cookie.;FI"HYou may treat Session::Memcache as you would Session::Pool with the;FI"following caveats.;Fo:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[ I"ISetting :expire_after to 0 would note to the Memcache server to hang;FI"Gonto the session data until it would drop it according to it's own;FI"Hspecifications. However, the cookie sent to the client would expire;FI"immediately.;F@o; ;[I"MNote that memcache does drop data before it may be listed to expire. For;FI"Ja full description of behaviour, please see memcache's documentation.;F: @fileI"!lib/rack/session/memcache.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@$[;[ [;[