Project

General

Profile

Bug #61754 ยป storeSessionData.diff

Daniel Minder, 2014-09-20 00:05

View differences:

typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php 2014-09-19 22:58:44.000000000 +0200
if (empty($this->user['uid']) && $this->isCookieSet()) {
$this->removeCookie($this->name);
}
$this->sessionDataTimestamp = NULL;
} elseif ($this->sessionDataTimestamp === NULL) {
// Write new session-data
$insertFields = array(
......
$this->sessionDataTimestamp = $GLOBALS['EXEC_TIME'];
$this->db->exec_INSERTquery('fe_session_data', $insertFields);
// Now set the cookie (= fix the session)
$this->forceSetCookie = TRUE;
$this->setSessionCookie();
} else {
// Update session data
    (1-1/1)