Hi,

You might try the FlashMessenger helper; it is quite good for such use
in many cases:

http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelper.stockhelpers

Hope that helps!

Best regards,
Darby

debussy007 wrote:
> Hello, another question ... If anyone of you has some time to advice me ....
> 
> I wondered how to pass info between two controllers. 
> Here is the case explained where I need it :
> 
> I have an AuthController which is responsible for all login/logout actions.
> 
> When I notice someone put a bad username and/or password, 
> the AuthController forwards the flow to the IndexController which will
> render the home page 
> and I want to display a message to explain it is a bad user and/or password
> on this home page.
> 
> So the question is how do I specify that there was a bad connection attempt 
> between the AuthController and the IndexController ?
> 
> In other words how do I transfer the information between the AuthController
> and the IndexController 
> that the connection failed ? What is the best way ?
> 
> Thank you for any advice & help !!

Reply via email to