session tutorialpoint code example
Example: php delete session
session_destroy(); // To delete whole session
// OR
unset($_SESSION['myVar']); // To delete a session var
session_destroy(); // To delete whole session
// OR
unset($_SESSION['myVar']); // To delete a session var