[TYPO3-core] RFC: #9599: [felogin] Enable Caching "USER" instead of "USER_INT"

Steffen Kamper info at sk-typo3.de
Mon Nov 3 21:22:52 CET 2008


Hi olly,

Oliver Hader schrieb:
> Hi Steffen,
> 
> Steffen Kamper schrieb:
>> this is an SVN patch request.
>>
>> Type: Bugfix
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=9599
>>
>> Branches: trunk
>>
>> Problem:
>> Felogin is a extension which is used often in the right column of every
>> page. Because the extension is not cached, this leads to performance
>> losses, and the whole static file cache doesn't work anymore.
>>
>> Solution:
>> Use USER and conditional USER_INT with user logged in.
> 
> Since #9654 is committed now it should work with this patch... it
> should... But:
> When the data the FE user enters (user/password) is wrong, in general a
> warning is shown. However, when the USER object is cached and no user is
> logged in (due to wrong login data), nothing seems to happen.
> 
> The condition has to be extended to check whether a "user" field was
> submitted by a POST request... see the attached patch... any comments?
> 
> olly
> 

yes, that's a way better!
I only would use the || operator for both conditions as i don't like 
putting both conditions in a row, that makes it more easy for reading.

vg Steffen


More information about the TYPO3-team-core mailing list