src/web/Session.php
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);
        }
    }
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);
        }
    }
Completely destroy the current session.