Forums / Developer / Login to multiple sites with multiple domains

Login to multiple sites with multiple domains

Author Message

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

Viktor Juhász

Tuesday 09 September 2008 1:15:23 am

Hi!

Thanks for you answer. I read the forum last night. http://issues.ez.no/9125 - is this the root of the matter?

Viktor

André R.

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.

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

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

eZ debug

Timing: Jan 31 2025 01:34:48
Script start
Timing: Jan 31 2025 01:34:48
Module start 'content'
Timing: Jan 31 2025 01:34:48
Module end 'content'
Timing: Jan 31 2025 01:34:49
Script end

Main resources:

Total runtime0.2234 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.1953370.2734
Module start 'content' 0.00770.0124 959.46881,005.5781
Module end 'content' 0.02010.2032 1,965.04693,893.7891
Script end 0.2233  5,858.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00431.9287200.0002
Check MTime0.00120.5495200.0001
Mysql Total
Database connection0.00100.439710.0010
Mysqli_queries0.138461.96151410.0010
Looping result0.00120.53381390.0000
Template Total0.202890.810.2028
Template load0.00080.336210.0008
Template processing0.202090.446110.2020
Override
Cache load0.00050.240010.0005
Sytem overhead
Fetch class attribute can translate value0.00220.981410.0022
XML
Image XML parsing0.00020.095710.0002
General
dbfile0.00441.9920200.0002
String conversion0.00000.003230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs