[TYPO3] cookies

Andrea Giorgini a.giorgini at norvlit.de
Thu Apr 27 13:42:21 CEST 2006


Dmitry Dulepov wrote:
> Hi!
> 
> Andrea Giorgini wrote:
>> Hello,fe_typo_user
> 
> Argh, my mistake ;) Use $TSFE->fe_user['username'] in PHP function.
> 
> Dmitry.

No prob,
after a fast print_r I found out that I should use

$TSFE->fe_user->user['name']

for the complete name...
By the way, I saw that to have a "real" working good stuff here I should 
disabled the cache... so what I did is $GLOBALS['TSFE']->set_no_cache(); 
into the php and options.clearCache.pages = 1 in TS.
Do you think this is right?

Thx again,
Andrea



More information about the TYPO3-english mailing list