instance method
session_options
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
session_options()
Returns the hash used to configure the session. Example use:
ActionController::Base.session_options[:session_secure] = true # session only available over HTTPS
Source
# File actionpack/lib/action_controller/session_management.rb, line 37
def session_options
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS
end
Defined in actionpack/lib/action_controller/session_management.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::SessionManagement::ClassMethods