[TYPO3] cookie fe_typo_user
Korvo
jose.fernandes at cm-lisboa.pt
Thu Apr 17 14:04:49 CEST 2008
Hi, thks for your answer
where i must put $TSFE->fe_user->user['username'] ??
in a ts_lib class?
Do you know what i must do to create a new cookie name
like for example
Name: user_typo3
(after maybe i can store username in his Content)
Fernandes
Benjamin Todd wrote:
>
> Hi Fernandes,
>
> If you have FE users logged in, TYPO3 already stores the username in the
> TypoScript Front End object.
>
> Access it in any extension you are building like this:-
>
> $TSFE->fe_user->user['username']
>
> Access it in TypoScript setup like this:-
>
> page.111 = TEXT
> page.111.data = TSFE:fe_user|user|username
>
> HTH,
>
> Ben
>
> ------------------------
> Benjamin Todd
> Web Developer
>
> b.todd at emnet.co.uk
> EMNET, PO Box 559, Nottingham, NG1 3LB
> Tel: +44 (0)115 956 8260
> Fax: +44 (0)115 956 8264
>
> www.emnet.co.uk
> Company Registration No. 3144383 - VAT No. 694 620 609 - Registered
> Office: Church House, 13-15 Regent Street, Nottingham NG1 5BS
>
> www.emnetsolutions.co.uk
> Company Registration No. 05384178 - VAT No. 856 671 781 - Registered
> office: Church House, 13-15 Regent Street, Nottingham, NG1 5BS
> -----Original Message-----
> From: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Korvo
> Sent: 16 April 2008 05:43 PM
> To: typo3-english at lists.netfielders.de
> Subject: [TYPO3] cookie fe_typo_user
>
>
> Hi I'm trying to have a username in the Content of a cookie.
> example:
> Name: fe_typo_user
> Content:jonh.paes
>
> but what is stored in Content is encrypted.
> what else do i need to add in order to make it so.
>
> any help is appreciated.
> Fernandes
> --
>
> Sent from the TYPO3 English mailing list archive at Nabble.com.
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> Scanned for viruses by MailDefender
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
--
View this message in context: http://www.nabble.com/cookie-fe_typo_user-tp16728296p16743548.html
Sent from the TYPO3 English mailing list archive at Nabble.com.
More information about the TYPO3-english
mailing list