I store a couple of value in a temporary session using: $job = new Zend_Session_Namespace('application');
How would I destroy only the session application without clearing all sessions.
I store a couple of value in a temporary session using: $job = new Zend_Session_Namespace('application');
How would I destroy only the session application without clearing all sessions.
Copyright © 2021 Jogjafile Inc.
To remove a value from a session, use PHP's unset() function on the object property. Let's say $job has a property 'username' like so :
To remove username from the session just do :
To remove the whole 'application' namespace and asociated data you can use :