[TYPO3-dev] Best way to check if a fe_user has been logged in the first time

Franz Koch typo.removeformessage at fx-graefix.de
Mon Dec 8 13:09:50 CET 2008


Hi,
>>> I wonder, what's the best way to check if a frontend user is logged 
>>> in the first time, if there is any?
>>>
>>> Any help appreciated.
>>
>> isn't there a db-field called "lastlogin" with the timestamp of the 
>> last login? If this one is empty, it's most likely that it's the first 
>> time ;)
>>
> 
> this won't work. If the user loggs in this field will be filled before 
> you can check it.

sorry - my bad - shouldn't have worked half the night, my brain's still 
asleep ;)
-- 
kind regards,
Franz Koch




More information about the TYPO3-dev mailing list