simply write yourself a "who is online" plugin with all online activies logged "per user_id" (!) for guest additionally per session_id or IP
works for me On 1 Apr., 12:21, Jeremy Burns | Class Outfit <jeremybu...@classoutfit.com> wrote: > You might not be wrong, but it still doesn't give the right answer. How do > you distinguish between someone who is sitting staring at a page for a long > time (and therefore logged in) and someone who visits a page and then whizzes > off to another site a few seconds later? Cake still thinks the latter user is > (or might be) logged in. > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On 1 Apr 2011, at 11:17, Ravi Verma wrote: > > > > > > > > > Hi Jeremy, > > > CakePHP takes care of it. they updates the session table on each refresh of > > the page by user and if there is long delay in session updation, cakephp > > considers it a non-authentic and removes it. So you do not need to worry > > about it. > > > Let me know if I'm wrong in any point. > > > Thanks, > > Ravi Verma > > > On Fri, Apr 1, 2011 at 3:38 PM, Jeremy Burns | Class Outfit > > <jeremybu...@classoutfit.com> wrote: > > Not true as it doesn't remove users who just navigate away. This is an > > inexact science at best. > > > Jeremy Burns > > Class Outfit > > > jeremybu...@classoutfit.com > >http://www.classoutfit.com > > > On 1 Apr 2011, at 11:03, Ravi Verma wrote: > > >> Hi Rishab, > > >> You just need to make changes in the core.php file to keep the sessions in > >> database. In this regard you will be able to count and display, which user > >> is currently logged in. > > >> On Fri, Apr 1, 2011 at 12:13 AM, cricket <zijn.digi...@gmail.com> wrote: > >> On Thu, Mar 31, 2011 at 1:03 PM, Rishab Jain <jairis...@gmail.com> wrote: > >> > Hi, > > >> > Since cake is taking care of the session, I want to know who all members > >> > of > >> > the site are currently logged in. > > >> > Has anybody ever written code something similar to this? It would be > >> > great > >> > if you could help me here. > > >> Rishab, have a look at this recent thread: > >>http://groups.google.com/group/cake-php/browse_thread/thread/fda52097... > > >> -- > >> Our newest site for the community: CakePHP Video > >> Tutorialshttp://tv.cakephp.org > >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > >> others with their CakePHP related questions. > > >> To unsubscribe from this group, send email to > >> cake-php+unsubscr...@googlegroups.com For more options, visit this group > >> athttp://groups.google.com/group/cake-php > > >> -- > >> Thanks & Regards > >> ===================== > >> Ravi Verma > >> Software Engineer > > >> -- > >> Our newest site for the community: CakePHP Video > >> Tutorialshttp://tv.cakephp.org > >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > >> others with their CakePHP related questions. > > >> To unsubscribe from this group, send email to > >> cake-php+unsubscr...@googlegroups.com For more options, visit this group > >> athttp://groups.google.com/group/cake-php > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php > > > -- > > Thanks & Regards > > ===================== > > Ravi Verma > > Software Engineer > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php