[TYPO3-core] RFC: New Feature #0752: scope of BE- andFE-Cookie:can't cope with multidomain-setup

Martin Kutschker Martin.Kutschker at blackbox.net
Tue Dec 13 10:04:06 CET 2005


Martin Kutschker writes on 
Mon, 12 Dec 2005 21:57:02 +0100 (MET):

> Michael Stucki <michael at typo3.org> writes on 
> Mon, 12 Dec 2005 21:38:02 +0100 (MET):
> 
> > > This setup does not cope with multiple multi-domain settings:
> > > 
> > > sub1.domain-1.com
> > > sub2.domain-1.com
> > > sub1.domain-2.com
> > > sub2.domain-1.com
> > > 
> > > But better than nothing. I requested it for 3.7 but I was turned
> > > down because of the multi-multi setup :-(
> 
> I thought about solving this issue by adding a cookie field to the
> domain records. But this means we must load the record just for the
> cookie. But they have to be loaded sometomes anyway. Are they
> accessible in some global var?


Simpler idea:

SYS[domainCookie] does not contain a string, but a regexp.

eg /domain-[12]\.com$/ for the example above
or the more likely real world /(?:foo\.com|bar\.org)$/

The domain to use for the Cookie is the complete match.

Masi 



More information about the TYPO3-team-core mailing list