public function setState($key,$value,$defaultValue=null)
{
$key=$this->getStateKeyPrefix().$key;
if($value===$defaultValue)
unset($_SESSION[$key]);
else
$_SESSION[$key]=$value;
}
it seems that if you set the same $key as null it will be destroyed:
i was looking into that last week, and i don’t think there is. I actually reverted to using session, much simpler and full control without needing to rely in user.