aktuelle.kurse/old_m133/Modul_Unterlagen_133_VOR/01-Modulinhalte/08 Session Sicherheit/Cookies Sessions (Wal)/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>