Flex URLRequest Timeout

Posted by MooCow on Stack Overflow See other posts from Stack Overflow or by MooCow
Published on 2010-05-03T20:53:48Z Indexed on 2010/05/03 22:58 UTC
Read the original article Hit count: 505

Filed under:
|
|

I have a Flex program that gets a JSON array from a PHP script. The PHP script doesn't contain just a simple JSON array but it grabs data from Activecollab and do some work on the data before encoding the data.

The first test involve a small JSON array that took a short time to encode by PHP. However, when I try to scale up the test, the Flash movie will crash trying to load the JSON data from PHP. There's no code difference between the tests, just the amount of data and amount of time it takes PHP to encode. Am I looking at a memory problem or a time out problem?

PS: When I call the PHP script in Firefox, it doesn't time out and still return a JSON array. It just took awhile to return the array.

© Stack Overflow or respective owner

Related posts about flex

Related posts about JSON