php destroy a session that lasts 1 refresh php 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