How to clear session when leave controller in zend framework?
If you want to clear all Session namespaces:
Zend_Session::destroy();
To clear one specific nameSpace:
Zend_Session::namespaceUnset('default');
If you want to clear all Session namespaces:
Zend_Session::destroy();
To clear one specific nameSpace:
Zend_Session::namespaceUnset('default');