public Method

ClassMethods.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 Code

# File action_controller/session_management.rb, line 35
def session_options
  ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.