Hi.
In the registerAction I set my namespace
$userRegisterSession = new Zend_Session_Namespace('userRegister');
$userRegisterSession->user = $data;
return $this->_helper->redirector('onregistersuccess');;
Than I need to retrieve the data so
public function onregistersuccessAction()
{
if(!Zend_Session::namespaceIsset('userRegister')){
return $this->_helper->redirector('index');
}
$this->view->headTitle($this->translator->translate('user_Register_HeadTitle_onsuccess'));
$userRegisterSession = new Zend_Session_Namespace('userRegister');
var_dump($userRegisterSession->getIterator());
}
As Zend_Session::_namespaceGet('userRegister') is deprecated, I don't find
an other way.( Indeed, it's a very ugly way)
I figure out there will be a more smart way.
Can you give me an example ?
Thanks in advance
Bye
--
View this message in context:
http://www.nabble.com/How-to-get-session-namespace-value-tp25413546p25413546.html
Sent from the Zend Framework mailing list archive at Nabble.com.