Do have any other requests coming through at the same time by chance?
Perhaps you have a broken link pulling a 404, or you have ajax happening at
the same time. Effectively, you need to make sure that you are not
"Expending" an extra hop during the redirect.
Does that make sense?
-ralph
On 10/3/08 4:05 PM, "Avi Block" <[EMAIL PROTECTED]> wrote:
>
> This is something that i've done a million times without fail outside this
> framework, and the framework looks like it has an easy API to use such a
> feature.
> Having said that, someone please point out the errors of my ways....
>
> I have a controller that looks something like this....
>
> class MyController
> {
>
>
> public function init()
> {
> $this->_flashMessenger = $this->_helper->getHelper('FlashMessenger');
> $this->_redirector = $this->_helper->getHelper('Redirector');
>
> ....snip....
>
> }
>
> public function openAction() {
>
> ....snip...
>
> $this->_flashMessenger->addMessage('Event Opened');
> $this->_redirector->gotoUrl($this->view->url(array(),
> 'admin.list_events'));
>
> ....snip....
> }
>
> public function listAction() {
> $this->view->messages = $this->_flashMessenger->getMessages();
>
> print_r($_SESSION);
> }
>
> I'm using the stable version of 1.6.1....
>
> I don't see my message and I don't even see it in the $_SESSION
> superglobal....
>
> If there's anymore information needed, please let me know...
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/