Answers for "clear all session and destroy in php"

PHP
5

php delete session

session_destroy(); // To delete whole session
// OR
unset($_SESSION['myVar']); // To delete a session var
Posted by: Guest on January-24-2020
1

php session destroy

<?php
// Destroy the currently active session.
session_destroy();
?>
Posted by: Guest on April-14-2020

Code answers related to "clear all session and destroy in php"

Browse Popular Code Answers by Language