Thursday, March 31, 2011

Re: How to know if a user has left a particular page

or unload event...
--
Lep pozdrav, Tilen Majerle



2011/3/31 euromark <dereuromark@googlemail.com>
the only way i know is that you use ajax and repeatedly make an ajax
call as long as he is on the site
as soon as there is no call anymore (for more than x seconds) you know
that he either closed the browser, surfed to another page or simply
lost the connection :)

On 31 Mrz., 23:01, Shashank <cooldude17202...@gmail.com> wrote:
> Hi Guys,
> I want to know is there any way of knowing if a user has left a
> particular page.
>
> What i mean is, suppose a user is on a page game/start, and he just
> closes his browser without logging out of the game than how do i get
> to know if he left the game or not??
>
> Thanks in advance!!!

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

No comments: