instance method
session_id
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
session_id()
No documentation comment.
Source
# File actionpack/lib/action_controller/session/abstract_store.rb, line 49
def session_id
ActiveSupport::Deprecation.warn(
"ActionController::Session::AbstractStore::SessionHash#session_id " +
"has been deprecated. Please use request.session_options[:id] instead.", caller)
@env[ENV_SESSION_OPTIONS_KEY][:id]
end
Defined in actionpack/lib/action_controller/session/abstract_store.rb line 49
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Session::AbstractStore::SessionHash