if ($session->read('Auth.User')) {

And to get the username use $session->read('Auth.User.username')

(or whatever the field is)

On Mar 6, 11:19 am, amarradi <radis...@googlemail.com> wrote:
> Hello together,
>
> i tryed this tutorial 
> (http://komunitasweb.com/2009/03/cakephp-acl-tutorial-what-and-how/
> ) as an example. But now i want to show the username and the logout
> link if the user is logged. how do i this?
>
> How can i show the username and the link on the ctp files?
>
> Many greetings, nice weekend
>
> marcus radisch

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to