Bug #55936

sessionManager->getActiveSessions() returns empty

Added by Thomas Lorenzen over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
Session
Target version:
-
Start date:
2014-02-12
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.4
Has patch:
No
Complexity:

Description

I inject the sessionManager and try to get all active sessions but getActiveSessions() always returns empty array.

Have tried in different contexts and yes I DO have active sessions ;)

I'm running Flow 2.0.1

Code:

/**
 * @Flow\Inject
 * @var \TYPO3\Flow\Session\SessionManagerInterface
*/
protected $sessionManager;
$sessions = $this->sessionManager->getActiveSessions();

Also available in: Atom PDF