class ActionDispatch::Request::Session

def destroy

def destroy
  clear
  if enabled?
    options = self.options || {}
    @by.send(:delete_session, @req, options.id(@req), options)
    # Load the new sid to be written with the response.
    @loaded = false
    load_for_write!
  end
end