PHP DELETE SESSION
session_destroy(); // To delete whole session
// OR
unset($_SESSION['myVar']); // To delete a session var
Allen
session_destroy(); // To delete whole session
// OR
unset($_SESSION['myVar']); // To delete a session var
// destroy the session
<?php
session_destroy();
?>
// save the Session and close it,
// so the next request (with the same SessionID) can be processed parallel
session_write_close();
<?php
// Destroy the currently active session.
session_destroy();
?>