On Fri, Oct 15, 2010 at 9:56 PM, Raisen <[email protected]> wrote: > But I need to access the cookie in the model because that model uses a > dbconfig that relies in what the cookie is set to. >
Like said above pass the cookie from the controller to the model, in fact just pass the needed value from within the cookie to the model. If your model is dependent on a cookie then it is time to refactor :-) Cheers Tarique -- ============================================================= Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com ============================================================= Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
