> You can't access session data from the model, so best to run that
> check in the basket code, don't allow an item owned by that person to
> be added to the basket - dodgy items shouldn't ever get to the model
> stage.

Yup.  He didn't mention Cart at all, but I assumed he would be setting
the current user id in the data array from the controller for other
reasons ("who bought what" kind of thing).

Actually I don't even think he's responded to any of posts, so we may
be preaching to the choir here. :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to