Bug #14836

Session-Lifetime for BE-User and FE-User doesnt work in FE

Added by old_heldenschreck about 10 years ago. Updated almost 6 years ago.

Status:Resolved Start date:2005-06-22
Priority:Should have Due date:
Assigned To:Christian Kuhn % Done:

0%

Category:Frontend Spent time: -
Target version:-
TYPO3 Version:3.8.0 Is Regression:
PHP Version:4 Sprint Focus:
Complexity:

Description

The new Lifetime/SessionTimeout for FE-User and BE-User doesnt work in Frontend (as it does in the Backend).

There are missing the following lines in the Source (possible fix):

/index.php (BE-User Initialisation):
$BE_USER->auth_timeout_field = intval($TYPO3_CONF_VARS['BE']['sessionTimeout']);

/tslib/class.tslib_fe.php (function initFEuser):
$this->fe_user->auth_timeout_field = intval($this->TYPO3_CONF_VARS['FE']['lifetime']);

(issue imported from #M1233)


Related issues

related to Core - Bug #17666: be sessions time out before $TYPO3_CONF_VARS["BE"]["sessi... Closed 2007-10-10
related to Core - Bug #19153: Insonsistent description/initialisation of class.t3lib_be... Closed 2008-07-25
related to Core - Bug #59365: Session Lifetime for FE-Users can not be less than 6000 secs Resolved 2014-06-05

History

#1 Updated by Franz Holzinger over 9 years ago

With the latest CVS Core from 19.1.2006 I get a timeout after 1 or 2 minutes from the backend.
However I have set it to
[BE][sessionTimeout] = 12000

#2 Updated by Christian Kuhn almost 6 years ago

Fixed, unable to reproduce in recent versions:

This definatly works in 4.2.8:

The proposed fix in tslib_fe is actually in class tslib_feUserAuth, method start:
$this->auth_timeout_field = $this->lifetime;

Also available in: Atom PDF