sesi tidak disetel
// Destroy a sesion variable name 'variable_name'
<?php
unset($_SESSION['variable_name']);
?>
Helpful Hamster
// Destroy a sesion variable name 'variable_name'
<?php
unset($_SESSION['variable_name']);
?>
session_unset(); //Destrol all session variables
session unset: unset($_SESSION['id']); //remove perticular session variable
session destroy: session_destroy(); //remove all session variable