You could send in a variable the user name value from the controller, and
send it, or you can also keep it within a session or cookie

2011/9/23 mivogtGermanyLU <[email protected]>

> hi there,
>
> i am using the auth component for a very simple login/logoff located
> in users-controller.
>
> On the head of my app I would like to show the username I am logged in
> with.
>
> How do I get the name I am logged in with to show it inside a view?
>
> .. is it also possible to show all useres current logged in(??)?
>
> Thanks in advance
>
> Michael
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to