#17666be sessions time out before $TYPO3_CONF_VARS["BE"]["sessionTimeout"]
Description
We notice BE session timeouts. The timeouts occur after some time of inactivity (1-2 hours), that is shorter than the time defined in $TYPO3_CONF_VARS[“BE”][“sessionTimeout”]
Some debugging showed that t3lib_userAuth::gc() is called with different values of gc_time. gc_time (and auth_timeout_field) sometimes have the value $TYPO3_CONF_VARS[“BE”][“sessionTimeout”] and sometimes are 6000.
Probably there are t3lib_beUserAuth-Objects initialized (by extensions or cli-programs) that do not explicitly set auth_timeout as in init.php. We are using simulatebe, which I suspect being the problem.
Changing auth_timeout_field from 6000 to the value of $TYPO3_CONF_VARS[“BE”][“sessionTimeout”] in t3lib/class.t3lib_beuserauth.php seems to fix the problem.
(issue imported from #M6493)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 4
- Bug #14836Session-Lifetime for BE-User and FE-User doesnt work in FE
- Bug #17808Ajax relogin won't relogin and ignores [BE][sessionTimeout]
- Bug #19153Insonsistent description/initialisation of class.t3lib_beuserauth.php->auth_timeout_field
- Bug #21511Lots of HTML, JS and/or CSS errors force IE8 to switch to compatibility view