public function delete($where, $session)
    {

        $database = $this->database;

        if (isset($where["session_key"])) {
            $where["session_key"] = $database->quote($where["session_key"]);
        }
        $database->delete($session->table, $where);

        return true;
    }