[HTML_AJAX-devel] handling timeouts

Otto Berger bruno at hilight.de
Thu Aug 10 07:47:16 PDT 2006


Hi,

you can customize the timeout using the options-array of the request object.

For example:

HTML_AJAX.grab(url, callback, {timeout:60000});

thats the way it works for me...

cheers,
Otto

Taiwo Femi schrieb:
> Hi!
> I'm using google's developers search api to run queries and show the
> results on my webpage with ajax. However whenever the user experiences a
> network timeout, or does not receive a response within 20000msecs, the
> request is aborted. Same for any ajax call, using html_ajax. Is it
> possible to extend the timeout? I've found a crude but, fairly effective
> way to resend calls, but like I said , it's very crude and would love to
> know it there's a better way. Thanks
> 
> Femi Taiwo
> 
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail Beta.
> <http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/handraisers>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel at lists.bluga.net
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel


More information about the Html_ajax-devel mailing list