[TYPO3-core] RFC: Bug 1454: cookie lifetime from the localconf will be ignored
michael at typo3.org
Fri Aug 25 16:27:07 CEST 2006
Committed to Trunk.
Ingmar Schlecht wrote:
> Hi Stucki,
> good work!
> I tested it and it worked as expected: +1.
> Michael Stucki wrote:
>> This is a SVN patch request.
>> $TYPO3_CONF_VARS[FE][lifetime] is not treated correctly because the
>> session is cleared after 3600 seconds independent of this value (it
>> affects the cookie lifetime only).
>> (Copied my comment from the bugtracker)
>> I've made another attempt to fix this problem, however this is completely
>> untested yet:
>> - gc_time in class.t3lib_userauth has been turned from hours into seconds
>> (more logical because all other fields use seconds too)
>> - The default of gc_time has been set from 24 (hours) to 0 which now
>> use value of $this->auth_timeout_field or 1 day (like before) if that
>> is not set.
>> - Do the same like your patch, but use method name "start" instead of the
>> constructor (make sure that start() is called after this one)
>> Trunk only
>> Thanks to Dietrich Heise and Jeff Segars.
>> Bugtracker reference:
>> - michael
Use a newsreader! Check out
More information about the TYPO3-team-core