Well, first of all I've already seached the entire group but I didn't
find anything satisfing about this topic; into the database.php
configuration file I have more than one database; now, I have several
models that are shared by these databases...and so I should set the
$useDbConfig variable throught the Session by a value setted into
another model. Let's explain:

from a controller I set a Session variable that has the name of the
variable used to define the data source into the database.php config
file; how can I read this var into the model from the session and set
it as $useDbConfig? All methods found in this group didn't work out...

Thanks in advance!
Alberto


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to