how to unset session value in php 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']);
?>