noxdeleo-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2007-Nov-07 15:51 UTC
Ajax.Request possibly firing multiple times
Hi all, I was just wondering if anyone has encountered a problem where an Ajax Request fires multiple times, or if anyone knows of any reason why it might happen. This doesn''t happen all the time, but only about 1 in 100 times - meaning it is a pain to debug. Thanks, Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Are requests asynchronous? Maybe it''s your fault? I had a problem, when i send multiply requests and didn''t wait... i mean didn''t catch onComplete event, but onSuccess. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
noxdeleo-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2007-Nov-08 09:32 UTC
Re: Ajax.Request possibly firing multiple times
Yes, everything is as default. I''m just using method: ''post'', postBody: (a serialised form), and an onComplete event to say when it''s finished. Because it doesn''t happen very often, I don''t know if it''s actually this or the PHP code it sends the request to. It was really just a question to see if anyone else had come across something similar. On Nov 7, 5:20 pm, Rauan Maemirov <rauan1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Are requests asynchronous? Maybe it''s your fault? I had a problem, > when i send multiply requests and didn''t wait... i mean didn''t catch > onComplete event, but onSuccess.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---