In order to destroy the current session and any variables associated with it, you should use the special function called session_destroy()
<?php
...
session_destroy();
...
?>
In order to destroy the current session and any variables associated with it, you should use the special function called session_destroy()
<?php
...
session_destroy();
...
?>