instance method
session_options
Ruby on Rails 2.3.18
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[:secure] = true # session only available over HTTPS
Source
# File actionpack/lib/action_controller/session_management.rb, line 41
def session_options
@session_options ||= {}
end
Defined in actionpack/lib/action_controller/session_management.rb line 41
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::SessionManagement::ClassMethods