[TYPO3-english] cookieDomain issue

Loek Hilgersom loek at netcoop.nl
Sun Feb 14 20:52:10 CET 2016


Thanks Jigal,

I overlooked that, I see now that it's clearly in the description for the 
cookieDomain setting in the install tool, oops!
Now I'll dig into building a regexp to exclude those 2 subdomains while 
including the others as well as a couple of other domains.

Thanks,
Loek


On 12-02-16 21:30, Jigal van Hemert wrote:
> Hi,
>
> On 12/02/2016 11:42, Loek Hilgersom wrote:
>> I'm having an issue with the [SYS][cookieDomain] setting.
>>
>> I have a production server on www.domain.com, including a number of
>> subdomains, and test and acceptation servers on test.domain.com and
>> acceptation.domain.com. Because we need the cookieDomain set at
>> '.domain.com' we are running into BE-login issues on the test and acc
>> servers, obviously because the cookies of the different servers
>> interfere with eachother. I can only login on the test server after
>> removing the session cookie for .domain.com
>
> You can use regular expressions in the cookieDomain setting. E.g.
> /\.(sub1|sub2|sub3)\.domain\.com$/ to match the three subdomains sub1, sub2 and
> sub3. It will not match test.domain.com or acception.domain.com .
>


More information about the TYPO3-english mailing list