function unsetData($p_name, $p_namespace = 'default') { if ($this->dataExists($p_name, $p_namespace)) { unset($_SESSION[$p_namespace][$p_name]); } }