[TYPO3-dev] Hook initfeuser and realurl

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Oct 18 12:35:01 CEST 2007


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.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list