Project

General

Profile

Actions

Bug #32924

closed

login into backend fails with 2 sites

Added by Franz Holzinger over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2012-01-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

Updated by Steffen Gebert over 12 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?

Actions #2

Updated by Franz Holzinger over 12 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.

Actions #3

Updated by Steffen Gebert over 12 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.

Actions #4

Updated by Franz Holzinger over 12 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.

Actions #5

Updated by Steffen Gebert over 12 years ago

  • Status changed from Needs Feedback to Resolved

Resolved since TYPO3 4.6

Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF