0, 'path' => $params['path'] ?? '/', 'domain' => $params['domain'] ?? '', 'secure' => $secure, 'httponly' => true, 'samesite' => 'Lax' ]); session_start(); }