function is used to remove a session 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