public function testSuccess3() { $aux = DZend_Session_Namespace::get('test3'); $aux->t3 = 'string'; DZend_Session_Namespace::delete(); $aux = DZend_Session_Namespace::get('test3'); $this->assertTrue(!isset($aux->t3)); }
/** * logoutAction Disassociate the user. * * @return void */ public function logoutAction() { $auth = Zend_Auth::getInstance(); if ($auth->hasIdentity()) { $auth->clearIdentity(); DZend_Session_Namespace::delete(); $this->_helper->redirector('login', 'index', 'Auth'); } else { DZend_Session_Namespace::close(); } }