[TYPO3-dev] FE User Cookie Domain
Kay Strobach
typo3 at kay-strobach.de
Mon May 14 09:13:37 CEST 2012
Hello Guys,
i need to set the fe user cookie domain typoscript based for a project :(
How can this be done (know that it's possible with hooks).
Site Structure:
http://domain.tld/customer1
http://domain.tld/customer2
http://domain.tld/customer ...
Fe Users logged in on customer1 are also loggedin in customer2 by
default, this needs to be suppressed ;)
-------------
@Hooks, problem here is, that i would need to use:
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserLookUp']
This hook is executed right after setting the cookie, so one cookie has
to be destroyed and another one has to be set ... not a really good
solution :D
------------
Other way found: use
$GLOBALS['TYPO3_CONF_VARS'][$this->loginType]['cookieDomain']
And set it in ext_tables.php based on a regex ..., but i would like to
use ts ;)
Regards
Kay
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
More information about the TYPO3-dev
mailing list