I also tied a "I DIED!!!" event to achieve that. In my experience, you might have some success with Firefox and Transport 0
Chrome won't send it, and when you switch to JSONP it's also not send. with firefox. So highly unreliable, you need to make sure you do not rely on it only, but use the standard left event as well On 4 Apr., 14:27, Anthony Catel <[email protected]> wrote: > Indeed, you can do that, but during our test it appears that the request > was not sent everytime (tested with both async and sync AJAX request). > Altough, it doesn't work on all browsers. > > Le 04/04/2011 15:26, Wes Garland a �crit : > > > > > > > > > What would happen if you tied a client-side APE JSF event to > > window.onbeforeunload? > > > This might address the use-case without increasing the poll time. > > > Wes > > > On Mon, Apr 4, 2011 at 9:16 AM, Anthony Catel <[email protected] > > <mailto:[email protected]>> wrote: > > > Hi, > > > In order to do that, you need to edit the APE source code : > > > https://github.com/APE-Project/APE_Server/blob/master/src/main.h#L45 > > > And change the pollTime on the client-side : > > > http://www.ape-project.org/docs/client/core/constructor.html > > > BTW, it's highly not recomended to set such a low value. This can > > lead to some unwanted user timeout and server load/Bandwidth increase. > > > Le 04/04/2011 15:10, bes82 a �crit : > > > hi everybody! > > can anyone explain me how can I force ape server to check if a > > user left a channel every few seconds (let's say 5) ? > > I noticed that the "left" event is called around 30seconds > > after someone actually leaves a channel. > > Thank you all! > > > Sara > > -- > > You received this message because you are subscribed to the Google > > Groups "APE Project" group. > > To post to this group, send email to > > [email protected] <mailto:[email protected]> > > To unsubscribe from this group, send email to > > [email protected] > > <mailto:ape-project%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/ape-project?hl=en > > --- > > APE Project (Ajax Push Engine) > > Official website :http://www.ape-project.org/ > > Git Hub :http://github.com/APE-Project/ > > > -- > > You received this message because you are subscribed to the Google > > Groups "APE Project" group. > > To post to this group, send email to [email protected] > > <mailto:[email protected]> > > To unsubscribe from this group, send email to > > [email protected] > > <mailto:ape-project%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/ape-project?hl=en > > --- > > APE Project (Ajax Push Engine) > > Official website :http://www.ape-project.org/ > > Git Hub :http://github.com/APE-Project/ > > > -- > > Wesley W. Garland > > Director, Product Development > > PageMail, Inc. > > +1 613 542 2787 x 102 -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
