Thursday, April 1, 2010

How to show user's status

Hello,

 I have admin page on which i show listing of all user. In front of each user i have a red ball image which indicates that the user is offline. Now if any user has logged into the site i have to replace the red image by green. How can i do that? Should i send an ajax call after a fix interval say (5 sec) to find out whether a user has logged in or is there some other way ?

Thanks,
Amit

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: