[Typo3] hot to check if user is logged on

Rudy Gnodde gnodde.rudy at wag.nl
Mon Apr 18 12:26:57 CEST 2005


Hello,

If I remember correctly the variable
$GLOBALS["TSFE"]->fe_user->user["uid"] should be what you're looking
for. It has the user's uid when someone is logged in.

Groeten,

Rudy Gnodde
Wijngaarden AutomatiseringsGroep & WIND Internetbureau
Email: rgn at wag.nl
WWW: http://www.wag.nl >-+-< http://www.typo3demo.nl

 


-----Oorspronkelijk bericht-----
Van: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] Namens Justin Kadima
Verzonden: maandag 18 april 2005 12:23
Aan: typo3-english at lists.netfielders.de
Onderwerp: [Typo3] hot to check if user is logged on

Hello to all,

Do you have any ideea how to check from inside PHP code(USER_INT) if a
user is logged? .Is there any variable that is set to TRUE or someting
like that, when a frontend user is logged?
I'm making a frontend extension in which I have different output based
on the user status.

Thanks, in advance
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list