# File lib/cgikit/directaction.rb, line 122
  def __sweep_sessions_action
    response = Response.new
    if @application.sweep_password then
      response.content = "<html><head><title>Sweep Sessions</title></head><body>\n\#{SWEEP_PROOF}<form method=\"POST\">\n<input type=\"password\" name=\"\#{SWEEP_PASS_KEY}\"/><input type=\"submit\" value=\"Sweep\"/>\n</form>\n"
      pass = @request.form_value('pass')
      if pass == @application.sweep_password then
        successed, failed = @application.session_store.sweep_sessions
        response.content << "<p><strong>Deleted: \#{SWEEP_DELETED_START}\#{successed}\#{SWEEP_DELETED_END}, \nFailed: \#{SWEEP_FAILED_START}\#{failed}\#{SWEEP_FAILED_END}</p>\n"
      end
      response.content << "</body></html>"
    end
    response
  end