[TYPO3-dev] Hook initfeuser and realurl

Carsten Bleicker bleicker at boros.de
Thu Oct 18 13:46:35 CEST 2007


Dmitry Dulepov [typo3] schrieb:
> Carsten Bleicker wrote:
>> im using the hook in tslib_fe to query an external DB for userdata.
>> without realurl the external db gets only 1 request.
>> if i use realurl the external db gets multiple requests.
>> sometimes over 100 instead of 1.
>>
>> any idea?
> 
> It means that someone does not use TYPO3 functions to query external 
> database but calls mysql functions directly. They may switch current 
> database internally and do not restore it back. Than all calls will go 
> to wrong database. mysql() function is known of that.
> 
> RealURL uses only TYPO3 functions to access database.
> 

i dont use any mysql queries for the external db. i send xml via post
and getting pack xml. this xml is parsed into an array and merged into fe_user->user
it seems for me, that somewhere in realurl are funktions wich are producing many many request
to initFeUser. Maybe for chaching, pagetree or something else?
does something like syspage is uses wich checks with initfeuser?







More information about the TYPO3-dev mailing list