Methods
G
I
N
Class Public methods
new(app, options = {})
# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 26
def initialize(app, options = {})
  options[:key] ||= '_session_id'
  super
end
Instance Public methods
generate_sid()
# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 31
def generate_sid
  sid = SecureRandom.hex(16)
  sid.encode!('UTF-8') if sid.respond_to?(:encode!)
  sid
end
Instance Protected methods
initialize_sid()
# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 39
def initialize_sid
  @default_options.delete(:sidbits)
  @default_options.delete(:secure_random)
end