Bug #20205
closedFE lifetime as string
0%
Description
For the setting [FE][lifetime], install tool recommends:
Integer, positive. If >0, the cookie of FE users will NOT be a session cookie (deleted when browser is shut down) but rather a cookie with a lifetime of the number of seconds this value indicates. Setting this value to 3600*24*7 will result in automatic login of FE users during a whole week.
BUT, there is the following line, that takes overwrites the default lifetime, by the one from the setting (class.tslib_fe.php):
$this->fe_user->lifetime = intval($this->TYPO3_CONF_VARS['FE']['lifetime']);
If $this->TYPO3_CONF_VARS['FE']['lifetime'] is indeed a string "3600*24*7", the lifetime is set to 3600.
Solution would be to either change the ambiguous description in the Install tool, or add a parsing to calculate the integer value.
(issue imported from #M10723)
Files
Updated by Oliver Hader over 15 years ago
I think changing the description to something like "time in seconds a session is valid" and giving an example that "604800 seconds" relate to one week is enough...
Updated by Dan Osipov over 15 years ago
Agreed
Can you submit a patch, or should I?
Updated by Rupert Germann over 15 years ago
I changed the description, because it already starts with: "Integer..."
Updated by Rupert Germann over 15 years ago
commited to
- TYPO3_4-2 (rev. 5223)
- Trunk (rev. 5225)