Thanks ! I put a if with $this->params['requested'], now is working
On 24 Set, 12:22, "Dr. Loboto" <[email protected]> wrote: > Check $this->params['requested'] in beforeFilter. If it is set and > true, you are processing requestAction this time. > > On Sep 24, 2:01 pm, igorfelluga <[email protected]> wrote: > > > Hi > > I did a component to get/save the search engine keyword if same one > > arrive from google,msn,yahoo. > > I call it in app_model with beforeFilter. > > The problem is that in home page or wherever it save the same keywords > > group more than one time. > > I think that happen because the page call 2/3/4 controller. > > > How I must do it? > > Thanks > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
