Synchronous Ajax requests are a very very bad thing to use. If your server
does not respond quickly, it will not only lock up that browser window/tab,
but in many browsers it will lock up *every* browser window/tab.

If you can describe a bit more about what you need to do, I'll bet I can
suggest a way to do it with asynchronous Ajax calls instead of synchronous.

-Mike

On Mon, Jun 28, 2010 at 11:36 AM, Suresh Deivasigamani <
[email protected]> wrote:

> Hi,
>   I am using gadgets API to retrieve the contents of REST web
> services. I am facing a problem because When makeRequest()is called,
> the gadgets API makes an asynchronous HTTP GET request to the URL
> passed into the function. Is it possilbe to change it into Synchronous
> request? I am having a for loop based on which this function is
> called. I need it to execute one by one.
>
> please advise..
>
>
> regards,
> Suresh
>
> --
> You received this message because you are subscribed to the Google Groups
> "iGoogle Developer Forum" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-gadgets-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/Google-Gadgets-API?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en.

Reply via email to