loginpagefoo/logout.php
2021-01-12 17:01:00 +01:00

17 lines
360 B
PHP

<html>
<head>
<title>Logout</title>
<meta http-equiv="refresh" content="0; URL=start.php">
</head>
<body>
<?php
//just start a session and destroy it. afterwards go back to the start page (thats what the http-equiv refresh does)
session_start();
session_destroy();
echo "Logout. Session is now destroyed. Now lets go to the start page.";
?>
</body>
</html>