Module: Authlogic::Session::Session::Config

Defined in:
lib/authlogic/session/session.rb

Overview

Configuration for the session feature.

Instance Method Summary collapse

Instance Method Details

#session_key(value = nil) ⇒ Object Also known as: session_key=

Works exactly like cookie_key, but for sessions. See cookie_key for more info.

  • Default: cookie_key

  • Accepts: Symbol or String



22
23
24
# File 'lib/authlogic/session/session.rb', line 22

def session_key(value = nil)
  rw_config(:session_key, value, cookie_key)
end