You could set a timer in javascript, informing a php that the user is
online, if the timer stops responding for a time specified, then, tell
the users he's not online anymore...
By John Chronus



On Wed, Aug 18, 2010 at 11:07 AM, weilies <[email protected]> wrote:
> I am planning to create a group chatware using PHP.
> For example, user can join "Super mario" group to start discussion.
> But if he logout or directly close the browser, how can system detect
> he is no longer exist in the group and notify other user in the same
> group, to remove his name from their list?
>
> 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 [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
>

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 [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

Reply via email to