Auth - Login Auditing

2009-07-01 Thread tpynegar
Hi, I'd like to audit the login's and logout's of the system, we're using Auth and if the user hits logout we can update the login audit table fine however if the session time's out we're left with a login without a logout. Is there any smart way we can do this, obviously we can make assumptions

Caching data

2009-06-28 Thread tpynegar
Hi, I'd like to take some data from another site and periodically refresh the data. I've looked at the caching mechanism in cakephp and it seem's it more directed at view caching. Is there some other mechanism i can use. Thanks, Tim. --~--~-~--~~~---~--~~ You rece

Auth problem with '/' and "You are not authorized to access that location."

2009-06-27 Thread tpynegar
Hi, I've got a setup where i've got a login action at /users/login. If you go directly to that controller, action there is no error message wereas if you goto '/' as in the site address with no controller or action and then follow the routes i've got setup for '/' to /users/login you get this mes

Re: FormHelper - $form->inputs() - $validate

2009-06-19 Thread tpynegar
: > You do all of this through the option array in the $form->input call. > For example to turn off the label you add "'label' => false".  There > are a lot of options so you should read the manual section. > > Rick > > On Jun 18, 6:40 pm, tpynegar wr

FormHelper - $form->inputs() - $validate

2009-06-18 Thread tpynegar
Hi, I'm trying to put a form together using this tutorial http://snook.ca/archives/cakephp/contact_form_cakephp/ where basically you put together a form and error messages etc from the model's $validate member. This is all working however i was wondering how to format the resulting form as in