[TYPO3-mvc] Ralation between User Session and Language Setting when using RealURL

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Thu May 2 20:20:36 CEST 2013


On 05/02/2013 04:05 PM, g4-lisz at tonarchiv.ch wrote:
> Hello
>
> It seems to me that user sessions are stored per language setting?
>
> For example: I use
>      $GLOBALS["TSFE"]->fe_user->setKey("ses", "demand", 
> serialize($demand));
> to store input data for a search form  when displaying the results.
>
> When the user decides to change the language setting, the results page 
> reloads with the translated URL (same PID, but different speaking URL):
>     URL=page-daccueil/recherche/resultats-de-votre-recherche/ gets 
> URL= startseite/suche/suchergebnisse
> If this happens, the search demand gets lost, or the search demand is 
> restored from an older session in the according language.
>
> Is there a way to tell T3 (realURL?) to use the same session, 
> independent of the language setting?
> I.e. if the user switches the language, he will get the same results 
> (German  session = French session)?
>
I found the actual issue: We're using different domain names for each 
language. Then, of course, the browser saves different cookies...

So the question is: How can we share a user session between two 
different domains (single tree multi language / domain setup)?

Till


More information about the TYPO3-project-typo3v4mvc mailing list