seehttp://book.cakephp.org/view/395/autoRedirect
regards,
AD
oh much thanks.
i wonder why I never saw that.
But now it works, wonderful
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To
UsersController:
// this is the stripped-down version
public function login()
{
if ($user = $this-Auth-user())
{
$this-User-Login-create();
$this-User-Login-save(
array(
'Login' =
Hello
I want to update a field in database (loginCount) after successful
login.
But I found now way where to insert this action, without to make a
redirect, as a callback or similar.
If I insert it in Users/login it will only be executed on getting the
login page, as I see?
How can I do this?