1 <?php 2 setcookie("cookieName", "cookieValue"); 3 header("Location: clear-cookie-refresh-result.php"); 4 ?> 5