Hi ! As nobody seems to be looking or have an idea, here is the source code of the page :
http://kraml.fr/lib/js/chat.js It seems that when being @home with 2 computers (on an Internet box) on the website, it "crashes" more often. Here are my ideas of what is being happening, if it reminds someone of anything : - Network problem, the call doesn't get to the host but gives no error (fiber connection) - Server problem (OS), that wouldn't accept too many connections from the same IP (seems strange to me) - Server problem (Apache), for the same reason, but it seems less strange in this case Please let me know if you have an idea about this, Regards, Julien. On 4 mai, 09:40, Julien Lenne <[email protected]> wrote: > Hi there again ! > > New debugs showed me that the php file wasn't even called. > I heard there could be limits on the number of concurrent ajax calls, > is it true ? > > I think that to test it, I'm going to stop my periodicalupdater before > an request and restart it right after, but it seems to me a bit weird. > > Has Prototype.js an existing process to prevent this ? > > Thanks in advance, > > Regards, > Me. > > On 3 mai, 10:04, Julien Lenne <[email protected]> wrote: > > > > > > > > > Hello there ! > > > It's been a (little) year since I've started using prototype.js. It's > > really great and it simplifies my dev life a lot ! > > > I use it to develop a chat application (www.kraml.fr) and I use the > > PeriodicalUpdater to retrieve the new events. > > > But, somehow, it happens that the call never retrieves the answer from > > the server, even if in Apache log I see that the page has been called > > by that user. > > > For now, I try to escape the problem by putting a timeout on the call > > (from a script found on the web), but to avoid loosing information, I > > have to send a receipt, which is slowing my app, and is not really > > reliable as it can "pend" as the periodical call. > > > I don't think it comes from the prototype library, but I thought > > people could have had an idea or even had the same problem. I'm > > looking actually at the PHP sessions, but am not really sure it has > > something to do with it. > > > Thanks in advance, > > > Regards, > > Julien. (tyrsensei onwww.kraml.frifyou want to test on live) -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.
