In beforeRender (app_controller) maybe. You could make a component that loads your Log model and insert a record in before render. hope this helps
On Nov 18, 5:44 am, Rick <[EMAIL PROTECTED]> wrote: > Hi all. > > I have a simple (I hope) question. I want to add some hit logging to > my site. I created a 'Log' table, controller, view etc, but the > question is how do I assure that a new Log record is created and saved > on every page load. I was thinking about putting it at the end of the > default.thtml layout file, but I can't seem to figure out how to do > that. I could do some raw SQL INSERTS, but I was hoping to find out > the proper Cake way to do do this... Thanks. > > Rick --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
