0 Replies Latest reply on Oct 23, 2006 3:48 AM by wanbli

    timeout on senAndLoad

    wanbli
      Hi to all,
      anyone known about an extension (or any other work aroud) of sendAndLoad class to include a timeout method?
      In my code I have:
      ...
      send_id.sendAndLoad("server_address", play_data, "POST");
      play_data.onLoad = function(success) {
      if (success){
      //success code here
      } else{
      //error code here
      }
      ...

      sometimes, when the server is hardly loaded, the sendAndLoad doesn't return anything and it's like failed in silence.

      any help or suggest about this?

      thanks in advtange for your time

      filippo