how to remove a session variable 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']);
?>