Multiple Site Login

HI all, I’m using two application for with two different database. Both database contain user table with fileds - username, password, usertype. Now i need to login both application from single sign in process. Means, when i logged in 1st application, there is link for second application, such a case i need to post username and password to 2nd application and auto login to 2nd app. is it possible? I checked curl method but not logged into the 2nd app.



I don’t think the user login to a specific database. Login just means that the server keeps track of the user’s status in memory - regardless of how many databases you have.

So you could use multiple databases and mix your applications as you wish.

Check this wiki on Multiple Databases.