On Apr 16, 2007, at 5:54 PM, Aaron Thies wrote:
> > If I have a simple login form in my header and I want to have the page > maintained so if I am on site.com/user/profile and try to login here I > have an error I will be shown the errors on site.com/user/profile > instead of being forced back to site.com/user/login? You can set error messages in the session, and then read them in views/layouts if they exist. Try using the setFlash() method in the SessionComponent. http://api.cakephp.org/1.2/ class_session_component.html#0f46011d40587807377decf37088ac12 -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
