method

session_options

rails latest stable - Class: ActionController::SessionManagement::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

session_options()
public

Returns the hash used to configure the session. Example use:

  ActionController::Base.session_options[:secure] = true # session only available over HTTPS