iis 6 - JQuery timeout not execute -


With a JS client, I call it JS One Page (GET HTTP) and sets timeout. The purpose of the timing is to: "Do something if the server does not answer" If I use Apache Web server to manage a page, timeout if I use IIS 6.0 timeout "left" and Trying the page (anyway) is the server response. This script is:

// Client Side

  $ Ajax ({type: "GET", url: "some.php", data: "name = John & amp; location = Boston", timeout: 5000 Success: function (msg) {warning ("Data saved:" + Msg);}, error: function (request, error type, error third) {warning ("opppsssss ....");}});  

I think this is an IIS ... is that right? Or have I made a mistake in JQuery code?

The best regerds

Dominico

As Paolo Mentioned in a comment, you are missing a comma after the expiration date. I recently had a situation where IE should have a scripts with the missing comma in the declaration of an object and it will not run properly (while Firefox had no problem running it).

It will not be that explain why different servers are causing different behaviors, but possibly there will be value for determining the first and restore, as the behavior can change and debugging may be easy. is.


Comments