Scenario:

I have an application with 2 connections: 'main' and 'client'.

Connection main points to database 'main' which has a table called
user like this:

| -------------------------
|          user
| -------------------------
| user_id
| username
| password
| database_host
| database_port
| database_name
| -------------------------

When user signin, I set user attributes with database's.

The problem is that when connections are configured at bootstrap,
sfContext does not have User yet (sfContext::getInstance()->getUser
=== null), so I can't retrieve database info setted before.

So, how can I set different databases with dynamic data provided on
user signin, without lose symfony doctrine tasks?

Thanks in advance.
@wpolicarpo

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en

Reply via email to