> i've a client side scrit that do a request to a server the server > sleep for a 10 seconds and the respond, in the client side script i > setup the timeout option at 1 second (1000) and i want to catch the > error thrown (like explained all around the web :) ) > > a bit of code explain better: > > //client side > $.ajax({ > type: "GET", > url: "some.php", > data: "name=John&location=Boston", > timeout: 1000 > success: function(msg){ > alert( "Data Saved: " + msg ); > }, > error:function(request, errorType, errorThrown){ > alert("opppsssss .... "); > } > }); > > //backend some.php > <? > //simulate long task > sleep(10); //sleep 10 seconds > > //send response > echo "some test data"; > ?> > > Now the problem is that under apache all work good and i can see the > alert message oppssss, but under the iis 6 no alert message popup and > after 10 seconds the "some test data" came back to the client ...
Can you post a link to a page showing this behavior?