On Mon, Oct 12, 2009 at 5:11 PM, DigitalDude <[email protected]> wrote: > > Hey, > > > hmm ok this would be a workaround I think. I was more like using a > field called is_online, which is 0 when not logged in, when logging in > it would be set to 1 and then a javascript function could refresh this > field every let's say minute or so. But if the user closes the > browser, how would I get to set it back to 0....
Which is why relying on a flag is a bad idea. Again: There's no bullet-proof way to deal with a person closing their browser. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
