aktuelle.kurse/oldies/m133/4_Modulinhalte_und_Uebungen/08-Session-Sicherheit/Cookies Sessions (Wal)/PHP7/16 - sessions/loeschen.php
Müller Harald 3fdacd20c0 muh
2022-07-28 09:14:44 +02:00

17 lines
226 B
PHP

<?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>