File "logout.php"

Full Path: C:/wamp64/www/PERSONAL/logout.php
File size: 211 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
session_start();

// Destruir todas las variables de sesión
$_SESSION = array();

// Destruir la sesión
session_destroy();

// Redirigir al login
header("Location: login.php");
exit();
?>