Hi, I had two sites in different servers , In that one i am using phpbb CMS and another one is ecommerce site . Now i would like to integrate both the sites ie i add a menu to redirect to cms site from ecommerce site . but i would like to maintain common login for both the sites if user login in one site he didnt login to another one and viceversa . both sites are different database servers different . How can i do this . please share your ideas. thanking you in advance
You would need to make it so that when a user logs in they log in to both servers. Are both on the same domain name or different ones?
You can set up a cookie to do this for you. It would only need to contain a unique ID that corresponds with your primary key in each user database.
Hi thanks for replies JAY , Both are with different domains names on different servers each one uses there localhost databases. and one more thing if a user register in one site , no need to register on another site . Zac can you more clear by considering the above thanks
I just want to do this by maintaining on different servers only through maintaining the different databases . please give your suggestion with respect to that thanks
You can, but for this you have been access for you in your hosting you can connect to other server's datebase. for this change localhost when you connecting with php to other servers ip adress e.g : localhost = > 213.1.12.142 with this option you can fetch what you need from other sites datebase.
ya i have to do that , at present i am trying to get remote access , before that i am trying to auto login as said , how i can configure common login for both the sites ?