[TYPO3-english] Multidomain - 3 sites, 1 installation, login problem

Dawid Pacholczyk dpacholczyk at gmail.com
Sat Jan 29 11:43:47 CET 2011


On 29.01.2011 10:30, Philipp Gampe wrote:
> Dawid Pacholczyk wrote:
>
>> On 28.01.2011 21:09, Philipp Gampe wrote:
>>> Hallo Dawid,
>>>
>>> Dawid Pacholczyk wrote:
>>>
>>>> As login extension I`m using newloginbox. I`ve set storagePid for all 3
>>>> sites.
>>>>
>>>> I need to log just on one page with account connected with selected
>>>> page. What should I set to achive that ?
>>>
>>> You will need to work with FE-usergroups. Create an group for each site
>>> and use those groups for protected content.
>>>
>>> If your users are in one group only, they will see only see content from
>>> the one page. They won't notice that the login is valid on more then one
>>> page, because nothing changes on other pages.
>>>
>>> Best regards
>>
>> Thank you for reply but don`t get me wrong. That can`t be the best
>> solution. I can`t belive that TYPO3 can`t handle with users on
>> multidomain sites.
>>
>> Best regards,
>> Dawid Pacholczyk
>
> Actually I goggled you question now and found out that the fe-user session
> is bound to one domain (and its subdomains).
>
> So if you have two completely different sites you get what you expect. If
> you are on one domain with subdomains, you have to set the cookie domain to
> the specific subdomains. Then you probably will need to make a conditions in
> the localconf.php files (it is a php file after all, you can use if/else).
>
> Some backgrounds: http://typo3.toaster-
> schwerin.de/typo3_dev/2009_01/msg00546.html
>
> Additionally you can lock user and/ or a group to a specific domain.
>
> As I never handled such a setup, I can not give a best practice.
>
> Best regards

Now that is what I`m talking about. Thank you very much for your time ! :)

Best regards,
Dawid Pacholczyk


More information about the TYPO3-english mailing list