aktuelle.kurse/old_m133/4_Modulinhalte_und_Uebungen/08-Session-Sicherheit/Cookies Sessions (Wal)/PHP7/16 - sessions/loeschen.php
Müller Harald 507e5da390 muh
2022-05-13 11:53:50 +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>