Project

General

Profile

Actions

Bug #100787

closed

$GLOBALS['TSFE']->fe_user->setKey() seems not to create cookie "fe_typo_user"

Added by Alex Kellner over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
Start date:
2023-05-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

We're currently working hard to bring powermail back to live in 12. One obstactle seems to be the session handling. In 12 all captchas are not working any more.

What we see was, that this code seems not to work any more:

# Create "fe_typo_user" cookie and store a value in the related database table
$GLOBALS['TSFE']->fe_user->setKey('ses', 'foo', ['foo' => 'bar']);

Can you please tell us what we're missing here?


Addition: So it's not possible to read the value when page is reloaded with:

$GLOBALS['TSFE']->fe_user->getKey('ses', 'foo');


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #100695: Move Cookie logic out of userAuthClosedBenni Mack2023-04-20

Actions
Actions

Also available in: Atom PDF