I did something similar in that I just patched Ajax.Request with some
extra functionality to allow timeouts, I never fussed with it further
than fundamental tests but it certainly worked.  Take a peak and maybe
you can learn how to write something to meet your own needs

http://positionabsolute.net/blog/2008/07/prototype-ajax-request-timeout.php



On Jul 22, 5:29 am, "T.J. Crowder" <[email protected]> wrote:
> Hi,
>
> There's a ticket for 
> it:https://prototype.lighthouseapp.com/projects/8886/tickets/302
>
> and it's mentioned in this 
> one:https://prototype.lighthouseapp.com/projects/8886/tickets/308
>
> Looks like #302 is waiting for someone to write some tests, but: I
> know that separate from Mark's stuff in #308, there's going to be an
> Ajax API rewrite (and possibly implementation rewrite as well) for
> 2.0.
> --
> T.J. Crowder
> Independent Software Consultant
> tj / crowder software / comwww.crowdersoftware.com
>
> On Jul 22, 8:09 am, Ran Berenfeld <[email protected]> wrote:
>
> > I'm sure this was asked before.
> > I'm running a web site with continuous ajax calls to the same server page.
> > Now I want that if the Ajax is not completed
> > in (say) 5 seconds, the call will be aborted and a new call s made.
> > I've seen pages in the web that suggests an implementation for an abort
> > method.
>
> > Will there be one in the upcoming release ? And should this method be used ?
>
> > Thanks
> > Ran
> > Site Admin -http://www.ichess.co.il

-- 
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.

Reply via email to