[eluser]rogierb[/eluser]
1: create a pre controller hook that reads the session flasdata. If no data is set use default DB config and load DB
2: create a method that can set flasdata to the other database.
3: redirect to the page you where on
The precontroller will read the flahsdata and use the correct DB.