Hi All, i'have a js client with JQuery, this js call a page (GET HTTP) and set timeout. The aim of timeout is: "do something if the server not responds". If i use Apache web server for manage a page, the timeout perform. If i use IIS 6.0 the timeout is "skipped" and the page attempt (anyway) the server response. This is the script:
//client side
$.ajax({
type: "GET",
url: "some.php",
data: "name=John&location=Boston",
timeout: 5000
success: function(msg){
alert( "Data Saved: " + msg );
},
error: function(request, errorType, errorThrown){
alert("opppsssss .... ");
}
});
I suppose that is a IIS..is it right? or i made a mistake in JQuery code?
best regerds
Domenico