User login at multiple sites (siteaccesses)

Author Message

Mikael Johansson

Monday 25 July 2005 3:32:13 am

We have setup out site with support for both Swedish and English, and user two siteaccesses to differentiate between them (swedish is called "chs" and english is called "en")

On each page there is a link to the same page on the other site (oursite/chs/index has a link to oursite/en/index for example).

The problem is that a user can be logged in at the "chs" site, but when she clicks the link to the "en" site, she is not logged in there. I have noticed that ez.no has solved this in some way, but haven't found how to do it.

Q: How do we let the users login at several sites at the same time? (Or: how do we transfer the SESSION between sites?)

Thanks in advance

Mikael Johansson, Sweden

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 19 2025 00:13:43
Script start
Timing: Jan 19 2025 00:13:43
Module start 'layout'
Timing: Jan 19 2025 00:13:43
Module start 'content'
Timing: Jan 19 2025 00:13:43
Module end 'content'
Timing: Jan 19 2025 00:13:43
Script end

Main resources:

Total runtime0.6007 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.1641152.6406
Module start 'layout' 0.00500.0026 741.804739.4766
Module start 'content' 0.00760.5914 781.2813427.2266
Module end 'content' 0.59900.0017 1,208.50788.1250
Script end 0.6007  1,216.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5259160.0002
Check MTime0.00130.2160160.0001
Mysql Total
Database connection0.00070.124310.0007
Mysqli_queries0.563993.8672460.0123
Looping result0.00040.0688440.0000
Template Total0.573095.420.2865
Template load0.00200.333420.0010
Template processing0.570995.044420.2855
Template load and register function0.00020.031610.0002
states
state_id_array0.00100.159810.0010
state_identifier_array0.00100.174020.0005
Override
Cache load0.00160.262080.0002
Sytem overhead
Fetch class attribute can translate value0.00050.088910.0005
Fetch class attribute name0.00090.141710.0009
XML
Image XML parsing0.00010.015810.0001
class_abstraction
Instantiating content class attribute0.00000.001010.0000
General
dbfile0.00080.1252100.0001
String conversion0.00000.001240.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs