Class: ActionDispatch::Session::UrlSessionStore

Inherits:
DalliStore
  • Object
show all
Defined in:
lib/action_dispatch/session/url_session_store.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, options = {}) ⇒ UrlSessionStore

Returns a new instance of UrlSessionStore.



10
11
12
13
14
15
16
17
# File 'lib/action_dispatch/session/url_session_store.rb', line 10

def initialize(app, options = {})
  super

  @default_options  = { :param => 'session_id',
    :cookie_enabled => false }.merge(@default_options)
  @cookie_enabled   = @default_options[:cookie_enabled]
  @param            = @default_options[:param].to_s
end