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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:14:24
Script start
Timing: Jan 18 2025 19:14:24
Module start 'layout'
Timing: Jan 18 2025 19:14:24
Module start 'content'
Timing: Jan 18 2025 19:14:25
Module end 'content'
Timing: Jan 18 2025 19:14:25
Script end

Main resources:

Total runtime0.9133 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0469152.6406
Module start 'layout' 0.00560.0028 740.687539.4766
Module start 'content' 0.00840.9033 780.1641587.9766
Module end 'content' 0.91170.0016 1,368.140612.1250
Script end 0.9133  1,380.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3654160.0002
Check MTime0.00130.1468160.0001
Mysql Total
Database connection0.00090.096810.0009
Mysqli_queries0.857593.8858650.0132
Looping result0.00080.0892630.0000
Template Total0.882396.620.4411
Template load0.00240.258220.0012
Template processing0.879996.339620.4400
Template load and register function0.00010.015210.0001
states
state_id_array0.00190.211710.0019
state_identifier_array0.00120.130120.0006
Override
Cache load0.00190.2126240.0001
Sytem overhead
Fetch class attribute can translate value0.00130.139730.0004
Fetch class attribute name0.00160.176960.0003
XML
Image XML parsing0.00090.097830.0003
class_abstraction
Instantiating content class attribute0.00000.001870.0000
General
dbfile0.00080.0888170.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs