Skip to content

class ActionController::Session
inherits Reference #

Included modules

Habitat::SettingsHelpers Habitat::TempConfig

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")#

(~20 years in seconds) Cookies can typically store 4096 bytes. Cookies can typically store 4096 bytes.

NEVER = 622080000#

Constructors#

Class methods#

.configure#

View source

.from_cookies(cookies)#

View source

.settings#

View source

Methods#

#[]=(key, value)#

View source

#clear#

View source

#delete(key)#

View source

#delete#

View source

#delete_if#

View source

#domain : String | ::Nil#

View source

#domain=(domain : String?)#

View source

#encode(cookies)#

View source

#modified : Bool#

Returns whether any key-value pair is modified.

View source

#parse(cookies)#

View source

#reject#

View source

#settings#

View source

#touch#

View source

Macros#

method_missing(call)#

View source