Bug #45708
closedfeuserauth storeSessionData fails to save Data to DB in "ses"-mode
0%
Description
If you want to save a users session in an eID script you would call
tslib_feUserAuth::storeSessionData()
to save the data to the session table.
From v4.5.22 to 4.5.23 there appears a new condition in this method:
} elseif ($this->sessionDataTimestamp === NULL) {
but $this->sessionDataTimestamp is defind this way:
protected $sessionDataTimestamp;
and will never be filled (therefore will never be NULL)
And for the "elseif" there is NO "else"-branch. So no error-handling at all, just not working.
Note: in 4.7 there IS a "else"-branch (but have not tested 4.7)
Updated by Christian Wolff over 11 years ago
I have an Related Issue. if a tslib_feutherauth->fetchSession() is called before the sessionDataTimestamp is also not NULL and therefor no session data is stored
Updated by Stefan Galinski over 11 years ago
Introduced in https://review.typo3.org/16956
Updated by Stefan Galinski over 11 years ago
- Status changed from New to Needs Feedback
This isn't valid anymore, right?
@Christian: If you think that you found a new bug, please open a new issues. :-)
Updated by Stefan Galinski over 11 years ago
- Status changed from Needs Feedback to Closed