Re: How to switch between databases dynamically by session value

2009-10-14 Thread brian
Are you certain that the settings for 'testcases' are correct? Did you by any chance name the database 'testcases' instead of 'db_testcases'? On Wed, Oct 14, 2009 at 6:24 AM, Christian wrote: > > Hello, > > I read several threads about this but not found a final "cake-like" > solution. A lot of

How to switch between databases dynamically by session value

2009-10-14 Thread Christian
Hello, I read several threads about this but not found a final "cake-like" solution. A lot of posts are about switching based on URLs, but I need to switch to another "testcases" database connection based on a session value I set in an action. This "testcases" connection should be used until end