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

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

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -