Timeout connection not working

Hi there, I have the next code to make an Ajax request:
function login() { this.request = new Ajax({ url: xxx, method: 'POST', contentType: 'application/json', sync: true, timeout: 3000, postBody: { xxx: xxx } }) }

As you can see I have setted a timeout of 3 seconds, the trouble is that it seems like the request is ignoring that timeout
and it takes more time while trying to make te connection.. What could be wrong ?? Thanks!
Sign In or Register to comment.