AlkantarClanX12
Current Path : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Session/Abstract/ID/ |
Current File : //opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Session/Abstract/ID/cdesc-ID.ri |
U:RDoc::NormalClass[iI"ID:EFI" Rack::Session::Abstract::ID;FI"Object;Fo:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"IID sets up a basic framework for implementing an id based sessioning;FI"Kservice. Cookies sent to the client for maintaining sessions will only;FI"Dcontain an id reference. Only #get_session and #set_session are;FI" required to be overwritten.;Fo:RDoc::Markup::BlankLine o; ;[I"!All parameters are optional.;Fo:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"=:key determines the name of the cookie, by default it is;FI"'rack.session';Fo;;0;[o; ;[I"J:path, :domain, :expire_after, :secure, and :httponly set the related;FI"3cookie options as by Rack::Response#add_cookie;Fo;;0;[o; ;[I"O:skip will not a set a cookie in the response nor update the session state;Fo;;0;[o; ;[I"N:defer will not set a cookie in the response but still update the session;FI"'state if it is used with a backend;Fo;;0;[o; ;[I"J:renew (implementation dependent) will prompt the generation of a new;FI"Isession id, and migration of data to be referenced at the new id. If;FI"E:defer is set, it will be overridden and the cookie will be set.;Fo;;0;[o; ;[I"H:sidbits sets the number of bits in length that a generated session;FI"id will be.;F@o; ;[ I"HThese options can be set on a per request basis, at the location of;FI"Kenv['rack.session.options']. Additionally the id of the session can be;FI"Cfound within the options hash at the key :id. It is highly not;FI"%recommended to change its value.;F@o; ;[I"(Is Rack::Utils::Context compatible.;F@o; ;[I"INot included by default; you must require 'rack/session/abstract/id';FI"to use.;F: @fileI"$lib/rack/session/abstract/id.rb;F;0[[ I"default_options;FI"R;F:publicF@K[ I"key;F@O;F@K[[I"DEFAULT_OPTIONS;Fo;;[ ;0@K[ [[I" class;F[[;[[I"new;F@K[:protected[ [:private[ [I" instance;F[[;[[I" call;F@K[I"context;F@K[;[ [;[