Have you check the network monitor in flash builder 4?

Sent from my iPhone

On Aug 2, 2011, at 5:16 PM, "georgemeng2011" <georgemeng2...@gmail.com> wrote:

> Hello,
> 
> I have very simple code to call a simple PHP page. PHP page will insret 2000 
> records to mysql table, takes about 2 minutes.
> 
> On PHP side, it is fine, I tested the php page within browser, it ran for 2 
> minutes and stoped. (I have configured on PHP to run longer than normal.)
> 
> One Flex side, I call PHP page using HTTPService with requestTimeout = 300 to 
> avoid timeout. Here is the code:
> 
>     var ws:HTTPService = new HTTPService();
>     ws.requestTimeout = 300;
>     ws.useProxy = false;
>     ws.url = "http://localhost:85/test.php";;
>     ws.addEventListener(FaultEvent.FAULT, fault );
>     ws.addEventListener(ResultEvent.RESULT, result);
>     ws.send();
> 
> However, after 30 seconds, it return fault event. I really don't understand.
> 
> Can anyone let me know how I do this correctly?
> 
> Thank you!
> 
> George
> 
>  
> 
>  
> 
> 

Reply via email to