php clearing session variables code example
Example: php unset session variable
// Destroy a sesion variable name 'variable_name'
<?php
unset($_SESSION['variable_name']);
?>
// Destroy a sesion variable name 'variable_name'
<?php
unset($_SESSION['variable_name']);
?>