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 <[email protected]> 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
