Bug #17373
closedTSFE : beUserLogin doesn't work, when config.baseUrl is set.
0%
Description
I'm using the value in "beUserLogin" from the TSFE, to check for an active backend user in one of my installations. The website uses a subdomain, so I set config.baseURL to the name of the subdomain. Once this is set, an active backend user isn't recognized any more in the frontend, as soon as he clicks on a link.
What I mean is, that the first frontend page (called from the backend with a click on a magnifier symbol) works as usual, but when the user navigates through the site, the field beUserLogin is 0 and all frontend editing symbols disappear.
This bug vanishes as soon as I clear config.baseURL.
(issue imported from #M5771)
Updated by Benni Mack almost 16 years ago
@Jan Schröder: Could you please give us some more details and tell us if the problem still occurs... otherwise we're gonna just close the bug.
Updated by Martin Holtz over 15 years ago
i think the way to reproduce that is:
Login at:
www.example.com
if you a secound domain
www.subdomain.example.com
and you preview that page you will see that page, but if you click on any link, you are on domain "www.subdomain.example.com" but there you are not logged in. So
TSFE : beUserLogin will be zero - and that is correct (IMHO)
so, that is an multiple-domain issue - where you login to one domain, and you are not logged in at a second domain which is managed by the same typo3 installation
Updated by Benni Mack over 15 years ago
OK. Additionally to Martins comment we got this:
+ this is a cookie issue as the session / cookie is bound to a domain
+ "if my cookie is bound to typo3.org - typo3.com should not get that cookie, so i cannot be logged in there" - makes sense, right?