[HTML_AJAX-devel] handling timeouts
Taiwo Femi
dftaiwo at yahoo.com
Sat Aug 12 10:29:39 PDT 2006
Thanks a lot! Will try it out and see how it goes.
Today I discovered I also made a mistake a lot of people make:
Post questions without first checking if it's already been asked and answered.
I got the text versions of the mails from the archive and did a search and saw that there were already references to this "challenge". I was wondering if we can find a way to make it searchable..if it already is, maybe I missed the link?
Once again thanks a lot. Surely reply as it goes.....
Femi Taiwo
Joshua Eichorn <josh at bluga.net> wrote: Using the options array is the thing to do. If your using proxy objects
its: proxy->dispatcher->timeout = 60000;
-josh
Otto Berger wrote:
> 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.
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Html_ajax-devel mailing list
>> Html_ajax-devel at lists.bluga.net
>> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
>>
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel at lists.bluga.net
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
>
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://bluga.net/pipermail/html_ajax-devel/attachments/20060812/89b378de/attachment.html
More information about the Html_ajax-devel
mailing list