$value) { setcookie($key, '', time() - 3600, '/'); // Set expiration to the past } // Redirect to index.php after 3 seconds header("refresh:3;url=index.php"); ?> Logging Out

Logging Out

You have been logged out. Redirecting to the home page in 3 seconds...