class ActionController::Session
- ActionController::Session
- Reference
- Object
Included Modules
- Habitat::SettingsHelpers
- Habitat::TempConfig
Defined in:
action-controller/session.crConstant Summary
-
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
Class Method Summary
Macro Summary
Instance Method Summary
- #[]=(key, value)
- #clear
- #delete(key)
- #delete(key, &block)
- #delete_if(&block)
- #domain : String | Nil
- #domain=(domain : String | Nil)
- #encode(cookies)
- #modified : Bool
-
#modified? : Bool
Returns whether any key-value pair is modified.
- #parse(cookies)
- #reject(&block)
- #settings
- #touch