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

Michael Stucki michael at typo3.org
Tue Feb 28 20:19:39 CET 2006


Hi Martin,

> Here it is. But it's not much diffrenet than before. I only added the @ to
> protect regexp errors.
> 
> I thought it might be nice to log regexp errors, but OTOH this might be
> annyoing as might flood the log. If we don't report the errors though,
> it's hard to debug a failing login.
> 
> To the descripion in config_default.php this should be added:
> 
> Alternatively you can set the value to a regular expression to match
> against the current domain. The result of the match is used as the domain
> for the cookie. eg. /\.(example1|example2)\.com$/ or
> /\.(example1\.com)|(example2\.net)$/

I didn't test it, but the patch looks just fine.

+1

Michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list