php - Request ajax is running after reload page

I'm a problema w\ my ajax request. I have a php that executing with open_proc (this process wait a input some times). If I reload the page before this input my request stay runnig. In my reloaded page I'm getting two response (one by old resquest and outher of new request). Obs: The response is in a file that this php read and write.
--- more details
The main php execute the code with open_proc. This php write data in outputs files and read of input file. In my html I get data of output files and show in screen. But with two runing of php, my data in output file is doubled.
How I can abort the old request?
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: unable to determine current zabbix database version: the table "dbversion" was not found.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.