Thank you Dennis for your answer, 
I'm sure I am mistaking something because the message I save in a request is 
available only in the next one, I 
recall or less getMessages().

Here an example:

public function firstAction(){
 $this->_flashMessenger->setNamespace($my_namespace);
 $this->_flashMessenger->addMessage($my_data);
}


public function secondAction(){
 $this->_flashMessenger->setNamespace($my_namespace);    
 $messages = $this->_flashMessenger->getMessages();
 Zend_debug::dump($messages);
}

public function thirdAction(){
 // nothing
}


If I call first and then second I get the message, then if I call second again, 
message is empty, and so should be.

If I call first and then third and then second message is empty the same, and 
should not be so...



Please note that I call flash messenger constructor in every controller's init()

$this->_flashMessenger = $this->_helper->getHelper('FlashMessenger');

Hope somebody could help 

Thanks

Sergio


                                          
_________________________________________________________________
Spazio gratis di 25 Gigabyte per archiviare ciò che vuoi
http://www.windowslive.it/skyDrive.aspx

Reply via email to