Sorry you are right, I call in app_controller :) in the only homepage it save the keywords group 5 times
On 24 Set, 10:32, Bert Van den Brande <[email protected]> wrote: > Any way, unless you use 'requestAction' calls inside your view I don't think > a controller's beforeFilter method is called multiple times for one http > request ... > > On Thu, Sep 24, 2009 at 9:56 AM, Bert Van den Brande <[email protected]>wrote: > > > Don't you mean "beforeFilter" from "app_controller" ? > > "app_model" has no "beforeFilter". > > > On Thu, Sep 24, 2009 at 9:01 AM, 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 -~----------~----~----~----~------~----~------~--~---
