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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 :