public function destroy(): void {
        if ($this->is_active()) {

            session_unset();
            session_destroy();
            $this->_data = [];

            // Make sure the session cannot be restarted
            Cookie::delete($this->name);
        }
    }