[TYPO3-dev] Tangled-up user authentication

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Mon Apr 20 11:36:56 CEST 2009


Krystian Szymukowicz schrieb:
> Christopher Lörken wrote:
>>
>> So in total there are 7 DB calls for not logged in users with every 
>> page hit 
> 
> hi
> 
> 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.

Yes, this is correct.
Background is that you can save session based information for a user 
even if he/she isn't logged in at all.
If someone should log in at a later time (with the same session) his/her 
session data is being "transfered" to the user data.

All in all pretty smart, although I dislike the select, delete, select 
again, insert, select approach of TYPO3.

If I got some spare time I will dig through those classes (3 or 4 if I 
remember correctly).

Oli, this might be another use-case for my "competence-center" idea we 
talked about in Laax.

cheers
Mathias




More information about the TYPO3-dev mailing list