I have a certain session variable that is actually an array. I want to delete the entire array variable but cannot make it happen.
_SESSION VAR
$_SESSION['auth']['id']
$_SESSION['auth']['username']
$_SESSION['auth']['role']
I tried unset($_SESSION['auth'])
but it does not work. Do I need to unset each 2nd level array individually using unset()?
Thanks.