[Typo3-dev] multi-subdomain cookies for fe/be login

Martin T. Kutschker Martin-no5pam-Kutschker at blackbox.n0spam.net
Thu Jul 8 22:19:08 CEST 2004


Hi!

In class.t3lib_userauth.php the session cookie will be set.

A customer of us has a setup like this.

www.domain.tld
sub1.domain.tld
sub2.domain.tld
etc.

No we want to share the login. We did this by hacking '.domain.tld' to 
the PHP setCookie() call.

Has anyone a clever idea how to do this in a more generic way? Perhaps a 
"cookie domain" field could be added to the domain records.

Any other ideas?

Masi





More information about the TYPO3-dev mailing list