Adding info into the session works just fine. So does modifying that information. I can't seem to delete or clear out the values of the variables. Below are some of the methods I'm trying to use. None of them seem to be working.
Code: Select all
if(isset($_SESSION['userErrors']))
{
$_SESSION['userErrors'] = null;
session_unregister('userErrors');
unset($GLOBALS['userErrors']);
unset($GLOBALS['_SESSION']['userErrors']);
unset($userErrors);
}-Mike