Forums / Developer / Login to multiple sites with multiple domains
Viktor Juhász
Monday 08 September 2008 6:13:45 am
Hi!
I would like to make an eZ 4.0.1 site with only one database, but with multiple domains.
Is it possible to login all of this domains with only one login procedure? I mean do not re-login everytime when I change the domain.
If is it possible, how could I do this? I try to SessionNamePerSiteAccess=disabled in all site's site.ini.append.php, but it not works.
Thanks,
Viktor
André R.
Tuesday 09 September 2008 12:30:06 am
It won't work on multiple domains, you can make it work on different sub domains by changing the cookie domain in php.ini.But on completely different domains, you'll need to write / get a single sign on solution.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Tuesday 09 September 2008 1:15:23 am
Thanks for you answer. I read the forum last night. http://issues.ez.no/9125 - is this the root of the matter?
Tuesday 09 September 2008 1:56:15 am
Yes, same case. So if you use sub domains, then you can tweak session.cookie_domain in php.ini to make it work.
B. Nkengsong
Tuesday 09 September 2008 3:17:10 am
hi,
you have many discussions on the subject in this forum. Just find the word <b> SSO</b> and you will have all necessary to go ahead.
Nice day
Sanagha Technologies Corp. http://www.sanagha.com | http://www.sanagha.net | http://tourisphere.sanagha.net | http://education.sanagha.net IT Consultant