i have a service that requires data to be sent from a remote server to my server at regular intervals. the data is sent in xml format over http (using POST method). i have a PHP app that receives the data and processes it.
recently i noticed that sometimes data is sent twice to my php applicaton from the remote server, when this issue was diagnosed it turned out that the problem was from my side: my application was taking long to send back a HTTP response to the sender of the data and thus the data was being re-transmitted! apparently my application was taking longer than 1 MINUTE to send back a HTTP response!
The response the remote server expects is just something like "200 OK"... is this an issue at the web-server level (im using apache) or can it also be solved at the application level?
any idea on how to crack this?
phaz