ActionController::Session
Inherits Habitat::SettingsHelpers < Habitat::TempConfig < Reference < Object
Constants
HABITAT_SETTINGS = [{decl: key : String, example: nil, validation: nil}, {decl: secret : String, example: nil, validation: nil}, {decl: max_age : Int32 = NEVER, example: nil, validation: nil}, {decl: secure : Bool = false, example: nil, validation: nil}, {decl: encrypted : Bool = true, example: nil, validation: nil}, {decl: path : String = "/", example: nil, validation: nil}, {decl: domain : String | ::Nil = nil, example: nil, validation: nil}] of Nil
Log = ::Log.for("action-controller.session")
MAX_COOKIE_SIZE = 4096
Cookies can typically store 4096 bytes.
NEVER = 622080000
(~20 years in seconds)
Constructors
new
SourceClass methods
configure
Sourcefrom_cookies(cookies)
Sourcesettings
SourceInstance methods
[]=(key, value)
Sourceclear
Sourcedelete(key)
Sourcedelete(key, &block)
Sourcedelete_if
Sourcedomain
Sourceencode(cookies)
Sourcemodified
Sourceparse(cookies)
Sourcereject
Sourcesettings
Sourcetouch
SourceMacros
method_missing(call)
Source