Showing posts with label timeout. Show all posts
Showing posts with label timeout. Show all posts

Monday, May 21, 2012

jQuery ajax (jsonp) ignores a timeout and doesn"t fire the error event


Hey fellow jQuery lovers,



To add some basic error handling, I wanted to rewrite a piece of code that used jQuery's $.getJSON to pull in some photo's from Flickr. The reason for doing this is that $.getJSON doesn't provide error handling or work with timeouts.

Sunday, April 22, 2012

NSURLConnection timeout?


I'm using this NSURLConnection with delegates.




nsconnection = [[NSURLConnection alloc] initWithRequest:request
delegate:self startImmediately:YES];