Bug #19153

Insonsistent description/initialisation of class.t3lib_beuserauth.php->auth_timeout_field

Added by Peter Niederlag about 7 years ago. Updated almost 2 years ago.

Status:Closed Start date:2008-07-25
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.4 Is Regression:No
PHP Version:4.3 Sprint Focus:
Complexity:

Description

from class description:

var $auth_timeout_field = 6000;   // if > 0 : session-timeout in seconds. if false/<0 : no timeout. if string: The string is fieldname from the usertable where the timeout can be found.

however from typo3/init.php:

$BE_USER->auth_timeout_field = intval($TYPO3_CONF_VARS['BE']['sessionTimeout']);

so nothing but integers ...
IMO timeout-handling should be passed to constructor or into a decent function, support for anything but integers could/should be dropped.

(issue imported from #M9053)


Related issues

related to Core - Bug #14836: Session-Lifetime for BE-User and FE-User doesnt work in FE Resolved 2005-06-22
related to Core - Bug #17666: be sessions time out before $TYPO3_CONF_VARS["BE"]["sessi... Closed 2007-10-10
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 Alexander Opitz about 2 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

#2 Updated by Alexander Opitz almost 2 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Also available in: Atom PDF