3

I'm working with Zend Session but I have a problem. If I instanciate a Zend_Session_Namespace('a') and unset it, I continue getting the storage:

$storage = new Zend_Session_Namespace('a');
unset($storage);
$storage = new Zend_Session_Namespace('a');
echo $storage->id;

And get the data I stored before.

Any idea???

José Carlos
  • 1,005
  • 16
  • 29

1 Answers1

8

Try this

$storage->unsetAll();

Or this for a single value:

unset($storage->id);
chelmertz
  • 20,399
  • 5
  • 40
  • 46