Bug #32924
closedlogin into backend fails with 2 sites
0%
Description
The login into the TYPO3 backend fails in the case, when you have 2 different TYPO3 sites under the same base URL.
E.g. you have http://mytypo3website.com/typo3 and also a http://mytypo3website.com/subdomain/typo3 .
Then you must delete the BE cookie be_typo_user to be able to login on the other TYPO3 site.
Updated by Steffen Gebert almost 13 years ago
- Category set to Backend API
- Status changed from New to Needs Feedback
Simultaneous login or logging to site 2 after having logged out from site 1?
Updated by Franz Holzinger almost 13 years ago
A simultaneous login to both sites should be possible.
At the moment you are forced to remove the backend cookies of localhost and by doing this you are logged out.
Updated by Steffen Gebert almost 13 years ago
Please give $TYPO3_CONF_VARS['BE']['cookieName']
a try.
You cannot login on two sites with same cookie names simultaneously, which do not have distinct paths. That's how cookies work. (so it could work if you have /site1/typo3/ and /site2/typo3).
Tending to close, if you have no further arguments.
Updated by Franz Holzinger almost 13 years ago
Yes, thank you.
I have inserted on site 1:
$TYPO3_CONF_VARS['BE']['cookieName'] = 'be-lokal1';
and on site 2:
$TYPO3_CONF_VARS['BE']['cookieName'] = 'be-demo-franz';
Now I can log into the backend on both sites at the same moment.
This should be documented somewhere on the wiki.
Updated by Steffen Gebert almost 13 years ago
- Status changed from Needs Feedback to Resolved
Resolved since TYPO3 4.6