baket empty after login / logout due to new sessionID

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
merzilla
Posts: 6
Joined: 17 Apr 2018, 09:52

baket empty after login / logout due to new sessionID

Post by merzilla » 08 Jun 2018, 17:27

Currently on TYPO3 8.7.15, but maybe since 8.7.11, the basket get emptied after a fe login (or logout).
The session cookie "fe_typo_user" remains, but you can see that the value gets a new session ID.

Benni Mack already noticed that the cookie handling did not change in the TYPO3 core, but what about sessions?

Can this be fixed and do you already know until when?

Thank you and regards,
Ralf

User avatar
aimeos
Administrator
Posts: 7882
Joined: 01 Jan 1970, 00:00

Re: baket empty after login / logout due to new sessionID

Post by aimeos » 12 Jun 2018, 12:07

We've tried with different TYPO3 8.7.x versions (.13 and .16 specifically) but none of those versions lost the session data after login or logout. What's true is that the session cookie value changes but that had no effect on the session content.

Do you have different settings for SYS/session in your LocalConfiguration.php file?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

merzilla
Posts: 6
Joined: 17 Apr 2018, 09:52

Re: baket empty after login / logout due to new sessionID

Post by merzilla » 12 Jun 2018, 17:33

Hi,

I could not find out what's different yet. We use the default configuration for the sessionBackend.

Code: Select all

'FE' => [
                'backend' => \TYPO3\CMS\Core\Session\Backend\DatabaseSessionBackend::class,
                'options' => [
                    'table' => 'fe_sessions',
                    'has_anonymous' => true,
                ]
            ]
"fe_session" gets a new entry on login.
Do you have any hint? Anyways I´ll keep on searching...

Cheers
merzilla

Post Reply