Saving data from another model (my own log system)

Posted by user331321 on Stack Overflow See other posts from Stack Overflow or by user331321
Published on 2010-05-31T10:24:00Z Indexed on 2010/05/31 13:03 UTC
Read the original article Hit count: 123

Filed under:
|

Hi!

I´m trying to write a log system for my CakePHP intranet. What i need is to store de username/datetime whene someone tryes to login.

My login code is on the clients_controller and i need to store the data on a model called log (i have the model, controller, view... but they are not related)

how can i achive that?

thank you

© Stack Overflow or respective owner

Related posts about cakephp

Related posts about controller