[TYPO3-core] RFC: multi-multi-domain cookies

Martin Kutschker Martin.Kutschker at blackbox.net
Mon Jan 9 10:21:23 CET 2006


Michael Stucki <michael at typo3.org> writes on 
Mon, 09 Jan 2006 00:02:37 +0100 (MET):

> Hi Martin,
> 
> 
> > Solution: Extend $TYPO3_CONF_VARS['SYS']['cookieDomain'] so that it
> > can
> > take a regexp. Match the requst host against the regexp and use it
> > as the
> > cookieDomain
> > 
> > /(?:domain1|domain2)$/
> > 
> > other example: /(?:domain1|domain2)\.com$/
> 
> I like the idea to do a regexp match ONLY if the string is wrapped in
> slashes - I think I'll have to change the globalString
> match-condition equally to this.


Currently I simply test if the string starts with a /, but I'' make it a proper check for start and end /.

Masi 



More information about the TYPO3-team-core mailing list