Hi.
I should update a field after
$result->isValid()
so I ended up with
$sql = "UPDATE users SET logged='1' WHERE id = ? "; $result = Zend_Db_Table::getDefaultAdapter()->query($sql, array('1')); $this->_helper->redirector('index', 'index');
Is there a better way ?
Is it worth to extend Zend_Auth_Adapter_DbTable ?
Bye
View this message in context: Update a field after auth.
Sent from the Zend Auth mailing list archive at Nabble.com.
没有评论:
发表评论