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

Martin Kutschker Martin.Kutschker at blackbox.net
Sat Jan 7 13:29:36 CET 2006


This is a CVS patch request.

Branch: HEAD

Problem: It's not possible to have multiple multi-domains in TYPO3 with shared FE sessions.

sub1.domain1
sub2.domain1
sub1.domain2
sub2.domain2

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$/

Masi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 2087 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060107/4ee1c6ea/attachment.bin 


More information about the TYPO3-team-core mailing list