Need Help: Change URLLoader Timeout?
- 2
- Add a Comment
I'm working on a project in which I make calls to a REST API using URLLoaders. One of the calls I make can take up to 80 seconds to respond, but it seems as though URLLoader times out after 60 seconds. I've scoured the ActionScript documentation, but haven't seen anything about a timeout property. Does anyone know of a way to change this value on a URLLoader?
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=5567dc34-9f43-4bb9-b400-ea155908912a)




2 Comments
David R
August 22nd, 2008
at 3:12pm
Is it feasible to change your REST API such that it doesn’t have such long returns? Maybe one API call which starts the task on the server-side, and then returns immediately “job started id #1234″, then a separate API call which you can poll to find if job #1234 is completed yet, and perhaps even return a %age which you can display to the user? 80 seconds is a long time for a user to wait with no feedback.
Bryan
August 23rd, 2008
at 4:10pm
@David R Unfortunately, the API is not mine. It’s the API of micro-blogging service Rejaw.