I'm dealing with his now. the way i have figured it out is to check
the domain in the app_controller.php's beforeFilter() method. Then
look up that user info based on the domain and save the user's info in
the session. Then in your other controllers you do:
$this->model->findAll("model.user_id='".$this->Session-
>read('User.id')."'");
There may be a better way, but this seems to work the best for me.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---