I have two Symfony2 application which are using the same database, but hosted on different domains.
Since they are under the same database, I can login with the same Username and Password in both applications.
I want to make the following behaviour: When someone logins to application1, it automatically logs in to application2 as well.
When I login to application1, a PHPSESSID cookie is created with my logged in session. However, when I setup the same PHPSESSID cookie under application2, it doesn't log me in.
How can I make both application login at the same time ?