time() + 365 * 86400, 'path' => '/', 'secure' => request_is_https(), 'httponly' => true, 'samesite' => 'Lax', ]); } header('Cache-Control: no-store'); redirect(i18n_safe_back((string) ($_GET['back'] ?? '/')));