method

delete_session

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: ActionDispatch::Session::CookieStore
delete_session(req, session_id, options) public

No documentation

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

Hide source
# File actionpack/lib/action_dispatch/middleware/session/cookie_store.rb, line 63
      def delete_session(req, session_id, options)
        new_sid = generate_sid unless options[:drop]
        # Reset hash and Assign the new session id
        req.set_header("action_dispatch.request.unsigned_session_cookie", new_sid ? { "session_id" => new_sid.public_id } : {})
        new_sid
      end
Register or log in to add new notes.