Issue Bug Closed

#17666be sessions time out before $TYPO3_CONF_VARS["BE"]["sessionTimeout"]

Hartmut Plehn 10/10/07, 16:40 updated 05/05/13, 21:40

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.