unset(seesion) 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']);
?>