Zend Namespace - Check if Session Exists
- by Vincent
All,
I am using Zend Framework and Zend_Session to do global session management for my application. I plan to clear all sessions on logout and hence am using the following code:
if($this->sessionExists())
{
$this->destroy();
}
But it seems like it's not doing a good job.. I am getting an error:
PHP Warning: session_destroy()…