To update the "logged" attribute, just set the appropriate id and save
the right data.

$this->User->id = $this->Session->read( "YourUserIDSessionVar" );
$this->User->save( array('logged'=>'0') );


And BlenderStyle - I don't think a small update like this will pose any
kind of performance problem.  By the time you've got hundreds of users
logging in and out each second you'll have many other performance
issues.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to