On Thu, 6 Jul 2006 17:07:56 +0100
"Jon Bennett" <[EMAIL PROTECTED]> wrote:

> do you have to log to a DB? because there's a $this->log() method
> available to all that writes out to  a log file.

Yes. It has to be to a DB.

> alternatively, and there's a little bit of duplication here, create a
> writeLog method in both your app_model and app_controller, then you
> can use in both.

OK, but how do i access session information in the model? 

-- 
Gonçalo Marrafa <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to