aktuelle.kurse/m133/4_Modulinhalte_und_Uebungen/06 Cookies Sessions/PHP7/16 - sessions/loeschen.php

17 lines
226 B
PHP
Raw Normal View History

2022-02-23 22:44:33 +01:00
<?php
session_start();
?>
<html>
<head>
<title>Sessions</title>
</head>
<body>
<?php
session_unset();
session_destroy();
setcookie(session_name(), "weg damit", 0, "/");
?>
<p>Alles gel&ouml;scht!</p>
</body>
</html>