Hmm...
I think I didn't clear all session data well,
I just use:
Zend_Auth::getInstance()->clearIdentity();

I tried to add the following line:

Zend_Auth::getInstance()->clearIdentity();
Zend_Session::destroy(true);

But I have the following error:
Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'The
session was explicitly destroyed during this request, attempting to re-start
is not allowed.'





debussy007 wrote:
> 
> Hi,
> 
> I want to check if a session variable is set :
> 
> $ns = new Zend_Session_Namespace('Interface');
> $logger->debug('Test: ' . isset($ns->showMemberInfo));
> 
> this code above will log Test: 1
> However I never set this session variable and it will consider as true.
> 
> Why ?
> 
> Thank you!
> 

-- 
View this message in context: 
http://www.nabble.com/Check-session-variable-tp18080852p18081114.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to