Friday, May 10, 2013

Validate Question

If the model has no access to Ssession data from correct MVC structure how do you validate user_id in the model when saving records?

 

Auth saves the user_id in the session when logged in but if you cannot get that in the model how do you verify the user_id?

No comments: