[TYPO3-dev] Tangled-up user authentication

Marcus Krause marcus#exp2009 at t3sec.info
Mon Apr 20 21:17:47 CEST 2009


Christopher Lörken schrieb am 04/20/2009 11:38 AM Uhr:
> Krystian Szymukowicz schrieb:
>> Christopher Lörken wrote:
>>>
>>> So in total there are 7 DB calls for not logged in users with every
>>> page hit 
>>
>> I am not familiar with this aspect of TYPO3 so I would ask you because
>> as I see you've spent some time digging into this matter. So the
>> question is:
>> is those 7 DB calls started with every page hit even if I have no
>> fe_user at all?
>>
>> Thanks if you could clarify this.
> 
> as far as I see it: yes. The system wouldn't know that you do not have
> any fe_users and FE user authentication is directly called from index_ts
> and tslib_fe respectively. I don't see any conditionals which would
> avoid those calls.


Simply do not create FE user sessions!
$TYPO3_CONF_VARS['FE']['dontSetCookie'] = 1


Marcus.


PS: Of course, the code still needs a rewrite.




More information about the TYPO3-dev mailing list