search for: set_user_id

Displaying 1 result from an estimated 1 matches for "set_user_id".

2006 Apr 04
26
Models accessing the session...
Can someone tell if there is a reason models shouldn''t access the session? Models could easily be made to access the session or some other shared persistant data store such as a file or a table. _This is the problem_, a model needs to know certain information eg. the id of the current user. But the model has no idea about anything outside of its self, because it can''t access