I'm unable to find out the ways of finding out who all users are logged in. Can somebody plz share a piece of code where something like this is done?
Rishab Sent from BlackBerry® on Airtel -----Original Message----- From: Rishab Jain <jairis...@gmail.com> Date: Fri, 1 Apr 2011 17:32:34 To: <cake-php@googlegroups.com> Subject: Re: check for the users who are logged in @Ravi: Could u please tell me the changes we need to make in core.php? regards, Rishab On Fri, Apr 1, 2011 at 3:47 PM, Ravi Verma <raviverma.5...@gmail.com> 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 <jeremybu...@mac.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/fda520971695ce5d >>> >>> -- >>> 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 >>> >> >> >> >> -- >> Thanks & Regards >> ===================== >> Ravi Verma >> Software Engineer >> >> -- >> 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 >> >> >> -- >> 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 >> > > > > -- > Thanks & Regards > ===================== > Ravi Verma > Software Engineer > > -- > 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 > -- 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