[TYPO3] current user

Jochen Rieger j.rieger at connecta.ag
Wed May 30 15:37:10 CEST 2007


Hi Marco,

> |   Array $GLOBALS["TSFE"]->fe_user->user   |
> 
> Does that works if mutiple users are logged in and I just need the user's
> username who is submitting the form?

of cause. The page is always rendered with all actual parameters in 
consideration. Thus when a user logs on and posts that form it's gonna 
be HIS user data that you will find in $GLOBALS["TSFE"]->fe_user->user. 
To be sure set the form or answer page to not cached.

Regards,
Jochen

-- 
Connecta AG TYPO3 Development
http://www.connecta.ag


More information about the TYPO3-english mailing list