how to handle multiple NSUrlResponses in iphone
- by MaheshBabu
hi folks,
i am getting data from .net web services.
I am sending two NSURlrequests to the same url,
But i need to save those responses separately.
for that my code is
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
{
if (theConnection_LOD ) {
[webData_LOD appendData:data];
}
if (theConnection_photo) {
[webData_photo appendData:data];
}
}
But it does n't work how can i handle these responses.
can any one pls help me.
Thank u in advance.