/** * @desc Delete the session in database. The current session stays alive for the rest of the * request and a visitor session will be created at the next request. */ public static function delete(SessionData $session) { $session->delete(); self::$response->delete_cookie(self::$AUTOCONNECT_COOKIE_NAME); }