Bug #32274
closedsessionTimeout for BE has does not work
100%
Description
Hello,
i setup the following config in localconf.php:
$TYPO3_CONF_VARS['BE']['sessionTimeout'] = '86400';
the problem is that after about 1 hour of inactivity i get the login screen so the setting that i will be logged in for 1 day does not work.
TYPO3 version: 4.5.
Updated by Markus Klein almost 13 years ago
Hi Simon!
I guess the problem is this (t3lib_userauth, line 772):
// A user was found if (is_string($this->auth_timeout_field)) { $timeout = intval($user[$this->auth_timeout_field]); // Get timeout-time from usertable } else { $timeout = intval($this->auth_timeout_field); // Get timeout from object }
The check is with is_string().
Can you try if it works with the setting
$TYPO3_CONF_VARS['BE']['sessionTimeout'] = 86400;
Regards
Markus
Updated by Michael Stucki almost 13 years ago
- Category set to Backend API
- Status changed from New to Needs Feedback
- Complexity set to easy
Updated by Michael Stucki almost 13 years ago
Sounds logical indeed. I suggest to replace the is_string check with t3lib_utility_Math::canBeInterpretedAsInteger().
Updated by Gerrit Code Review almost 13 years ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7079
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7079
Updated by Gerrit Code Review almost 13 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7079
Updated by Mario Rimann almost 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 719c1a2ff558a02d1fb71d8b860f884bc1c2eacc.
Updated by Gerrit Code Review almost 13 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7353
Updated by Gerrit Code Review almost 13 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/7354
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/7354
Updated by Mario Rimann almost 13 years ago
- Status changed from Under Review to Resolved
Applied in changeset 043f1c8310828076debed80d67366e67d2d5862b.