[TYPO3] include a protected content or use fe user cookies

Ilaria De Marinis ilaria.demarinis at caspur.it
Fri Jan 11 16:50:44 CET 2008


Thank you very much Francois it's exactly what I need.

Best regards
Ilaria

Francois Suter wrote:
> Hi,
>
>> So, I'm trying by checking $_COOKIE['fe_user_typo'], but also if I
>> logged out, my browser still has this cookie
>> I didn't find any other cookies from my website.
>>
>> Shall I have to check for other informations?
>
> Check $GLOBALS['TSFE']->fe_user->user.
>
> When a user is logged in, this array contains all the user-related 
> information. When no one is logged in, this array is empty.
>
> HTH
>
> François Suter
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

-- 
------------------------------------------------
Ilaria De Marinis 
Settore Automazione Biblioteche
Phone: +3906-44486052
CASPUR - Via dei Tizii ,6 - 00185 Roma
e-mail: ilaria.demarinis at caspur.it
------------------------------------------------



More information about the TYPO3-english mailing list