If I do getLastInsertId() immediately after a save(), it works, but otherwise it does not. This is demonstrated in my controller:
getLastInsertId()
save()
f
I think it works with getLastInsertId() if you use InnoDB Tables in your MySQL Database. You also can use $this->Model->id
$this->Model->id