[TYPO3-dev] Is config key 'cookieDomain' worth a patch?

Xavier Perseguers typo3 at perseguers.ch
Sat Jan 3 12:37:55 CET 2009


Hi Steffen,

> the problem with multidomain is not solved with setting cookie to 
> ".domain.ltd" - it won't work if subdoamins are in different A-record.
> 
> I researched for it because of handling cookies on support.typo3.com and 
> it is unsolvable for the different subdomains, cookies are not valid for.
> 
> i see a possibility with a CNAME record, have a look at this article:
> http://www.stonetemple.com/articles/analytics-and-cookies.shtml

You mean letting the cookie be set for each and every domain (that is 
leaving cookieDomain empty) and then having this in DNS:

domain.tld:

www         IN A       1.2.3.4

otherdomain.tld:

subdomain1  IN CNAME   www.domain.tld.
subdomain2  IN CNAME   www.domain.tld.

and the cookie would be reused? I would have thought that. I should give 
it a chance.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away




More information about the TYPO3-dev mailing list