apache2 - apache and php response after databse commit -


i have application send ajax request apache server. php process data , save in database, send response web client. sometimes, due slow networks, ajax client don't receive response, ajax timeout. data save in database , ajax client try resend data generating duplicate entries in database.

there way of apache detect response not received , return php proccess rollback in database? or have implement manually?


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -