Thursday, December 24, 2009

Cookie in Models

Hi,

I am building an application with multiple database. Database gets
selected based upon clients. Now the client_id is saved in a cookie. I
have to read the cookie value in my /app/app_model.php page to select
respective database.

Is there a way to retrieve the cookie value in that page !!!

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: