Yeah I'd say thats a pretty good approach, if you've got 8 active requests then the timeout duration of the 9th should be affected by the number of currently active predecessors. I'd do something in the onCreate method to just set the instance's timeout universally instead of trying to micromanage each.
onCreate : function(request){ request.options.requestTimeout = Ajax.activeRequestCount * SOME_CONSTANT; } I've also done some work with enhancing prototype's Ajax.Request to accommodate for timeout functionality, have a peak at your convenience. http://positionabsolute.net/blog/2008/07/prototype-ajax-request-timeout.php On Apr 15, 3:13 pm, Maarten <maartenwie...@gmail.com> wrote: > Hi mona, > > I don't mean this in a negative way, but what exactly are you doing? > Just out of curiousity. > > Other than that, have you tried passing the Ajax requests into > different objects? > > Maarten --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---