method

destroy_session

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::SessionStore
destroy_session(env, session_id, options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/session_store.rb, line 334
      def destroy_session(env, session_id, options)
        if sid = current_session_id(env)
          Base.silence do
            get_session_model(env, sid).destroy
            env[SESSION_RECORD_KEY] = nil
          end
        end

        generate_sid unless options[:drop]
      end
Register or log in to add new notes.