[Typo3] Re: hot to check if user is logged on

Nick Sutterer nick at tesbo.com
Mon Apr 18 15:43:20 CEST 2005


hi justin!

> 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?

have a look at $GLOBALS['TSFE']->loginUser, this boolean is true if a user is 
logged in. in the TSFE object are plenty of other information, e.g. which 
user is logged in or so.


cheers,


	nick



More information about the TYPO3-english mailing list