Bug #17666

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

Added by Hartmut Plehn almost 8 years ago. Updated about 2 years ago.

Status:Closed Start date:2007-10-10
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.1 Is Regression:
PHP Version:5.1 Sprint Focus:
Complexity:

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)


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 #17808: Ajax relogin won't relogin and ignores [BE][sessionTimeout] Closed 2010-06-01
related to Core - Bug #21511: Lots of HTML, JS and/or CSS errors force IE8 to switch to... Closed 2009-11-09
related to Core - Bug #19153: Insonsistent description/initialisation of class.t3lib_be... Closed 2008-07-25

History

#1 Updated by Kurt Gusbeth over 5 years ago

[BE][sessionTimeout] = 3600
Windows 7
Internet Explorer 8
Typo3 4.3.0
Working with tabs (Strg + T).

The "Typo3 login expiriation notice" appears not after one hour, it appears after a few minutes! This is a very annoying bug.
The "Stay logged in!" button doesn´t work! If I click at it, the window "Typo3 login expiriation notice" appear again.
The "Refresh Login to TYPO3" occurs to fast. I can approve this only when I am working with tabs.

#2 Updated by Christian Kuhn over 5 years ago

Probably related to #21511

#3 Updated by Chris topher about 5 years ago

Kurt's problem might be a duplicate of #21511.

But the original report here surely is not (already because it was reported before IE8 was available).

#4 Updated by Kurt Gusbeth about 5 years ago

Note to my report (0033499):
This problem is still not fixed in Typo3 4.4.0.
I have the same problem with:
- Windows XP
- Chrome browser 5.0
- Typo3 4.4.0
The "Typo3 login expiriation notice" appears when I am coming back to the backend from an other browser-tab.

#5 Updated by Rafal Likus over 4 years ago

We have the same effect:
Windows XP/7
IE 8, Firefox 3.6.x
Typo3 4.4.2 and 4.4.4 PHP5.3 with wincache, memcached, IIS 6/7
Mostly on workstations of users without power user / administrator privileges in Windows.
With these effects too http://bugs.typo3.org/view.php?id=14979

#6 Updated by Felix Kopp almost 3 years ago

  • Target version deleted (0)

Is this issue still valid since the bootstrapping was unified?

#7 Updated by Alexander Opitz about 2 years ago

  • Status changed from New to Closed

No response in over one month => closed.

Also available in: Atom PDF