In my iPad app, I am getting reports that the user can input. Ones he is done with the reports he can send them to the server. I am using HTTP Post for this and I have a php web service that is receiving the data. For each report send, the php give feedback that the information was correctly stored in mysql.
I am facing the issue that the user can only send around 41 reports, after that the php is not responding to the reports send. After waiting some time, around 20-30 minutes, the user is once again able to send reports, until getting to the limit of the 41 reports.
What need to be changed in php.ini or mysql that the user can send all reports without the before mentioned issue.
I am using this code for iOS and sending each report one after the other.
NSMutableData *body = [NSMutableData data];
NSString *data = [NSString stringWithFormat:@"uniqueID=%@&fecha=%@&numID=%@&rep=%@&hosp=%@&folio=%@&diagnostico=%@&tratamiento=%@&dosis=%@&quimio=%@&medico=%@", uniqueID, strFecha, strNumID, info.rep, info.hosp, info.folio, info.diagnostico, info.tratamiento, strDosis, info.quimio, info.medico];
iLoop = iLoop + 1;
NSLog(@"data: %d", iLoop);
[body appendData:[data dataUsingEncoding:NSUTF8StringEncoding]];
[request setHTTPBody:body];
NSURLConnection *conn=[[NSURLConnection alloc] initWithRequest:request delegate:self];