Solved. It's because of using requireAction() in my layouts and helpers. Ondrej
On Jul 5, 11:35 pm, angel333 <[EMAIL PROTECTED]> wrote: > Hello, > > I have a problem with SessionComponent::setFlash(). When I save > something in flash, it should be shown on next page and it should > expire when user go to another page. But it doesn't expire > immediatelly, but after a long while (probably session expiration). > When I turn cookies off, it seems to work. > > I have tried writing $session->flash() in view (layout) twice. As I > expected, the first flash() deleted Message.flash, so the second > didn't flash. But on next request it flashes the same message again. > > Finally, I'm sorry for my English :). > > Thanks, Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
