Hi to all cake bakers,
I am using session based authentication and I want to update a record
based
on information supplied on a form submission.

If i use the standard save function, the record will be saved based on
the id of the record i supply....
update some record WHERE ID = $ID

The problem is that I want to update a record based on the id and the
session_id....
update some recored WHERE ID = $ID and client_id = $SESSION_ID

This ensures that each client can only update their own records in a
table based on the session id.

Seeing as how there is no update method in cake, how do i do this?

Cheers.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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