[TYPO3-dev] Best way to check if a fe_user has been logged in the first time
Patrick Rodacker
patrick.rodacker at the-reflection.de
Mon Dec 8 12:53:58 CET 2008
Hi Steffen,
Steffen Kamper schrieb:
>> 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.
>
> So there is only the way to add a new field to the fe_user "first_login"
> which will be 0. If user logs in you can react on this flag, setup what
> you want and set the flag to 1
ok, that was almost expected. Thanks for clarifying.
Regs
Patrick
More information about the TYPO3-dev
mailing list