|
Hi Cameron, Just some ideas. I assume you are using latest from trunk. If I try in my system to logout, I can logout. So nothing is wrong with the framework I think. So we are looking at a problem in your logic somewhere. The first thing I thought was there could be something with redirecting the way you do. May you should be forwarding to your default action instead, so that the clearance of the identity can take effect before you redirect. I do this in my logout action: public function logoutAction() { Globals::logout(); $this->_forward('index'); } You can see that I do not redirect, but I forward. In this case to the default action of the login controller. Globals does the following: public static function logout() { $auth = Zend_Auth::getInstance(); Zend_Registry::get('log')->info('Trying to clear identity'); $auth->clearIdentity(); } Since there is not much of a difference with your code, I think it must be the redirect. If that is not the issue, then I start to think of caching. Do you return cached content before you check the identity? In that case, logging out won't help once pages are cached. Just a thought. Regards, Bart McLeod Cameron schreef: I'm logged in because I can still access the entire application, something I can't do until I'm authorized. As for cookies, I dunno... there's nothing in the application that manually writes anything to a cookie, so it could only be Zend or general PHP session related... --
|
- [fw-general] Zend_Auth::getInstance()->clearIdentity... Cameron
- Re: [fw-general] Zend_Auth::getInstance()->clea... Hector Virgen
- Re: [fw-general] Zend_Auth::getInstance()->... Jake McGraw
- Re: [fw-general] Zend_Auth::getInstance()-... Cameron
- Re: [fw-general] Zend_Auth::getInstanc... Bart McLeod
- RE: [fw-general] Zend_Auth::getIn... Gina-Marie Rollock
- Re: [fw-general] Zend_Auth::g... Jurian Sluiman
- Re: [fw-general] Zend_Auth::g... Bart McLeod
- Re: [fw-general] Zend_Aut... Cameron
- Re: [fw-general] Zend_Aut... Cameron
- Re: [fw-general] Zend_Aut... Jake McGraw
- Re: [fw-general] Zend_Aut... Cameron


