I did find this on cake answers
http://ask.cakephp.org/questions/view/get_list_of_currently_logged_in_users
- S
On 23 September 2011 18:49, elogic <asymonds@elogicmedia.com.au> wrote:
This is how I do it: <?php echo $this->Session-
>read('Auth.User.username'); ?>
Not sure about all logged in users. I'm only a few weeks into cakePHP.
On Sep 23, 5:30 pm, mivogtGermanyLU <miv...@mivogt.net> wrote:
> 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment