Class: Rage::Configuration::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/rage/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Specify the name of the session cookie.

Examples:

Change the session cookie name

Rage.configure do
  config.session.key = "_myapp_session"
end

Returns:

  • (String)


792
793
794
# File 'lib/rage/configuration.rb', line 792

def key
  @key
end