Imagine the following scenario:
The user performs some (state changing) action. The system does it and redirects him with a flash message to a page. But the page makes a second redirect to somewhere and - since this is another request - the message it lost without the user seeing it.
Would it be better if clearing the messages (The call to $this->resetNamespace(); at line 99 in Zend_Controller_Action_Helper_FlashMessenger) be performed only when the request is not a redirect. And since this would break BC - it could be a switch that is off be default? Does it makes sence?
Regards,
Emil Ivanov
--
My place to share my ideas:
http://bolddream.com (now live :)
2009年8月7日星期五
订阅:
博文评论 (Atom)
没有评论:
发表评论