destroy all the global variables associated with the session. code example
Example: php session destroy
<?php
// Destroy the currently active session.
session_destroy();
?>
<?php
// Destroy the currently active session.
session_destroy();
?>