I have a php script that receives $_[‘post’] data from a button in flash , some times the user does double click on that button and the data sends twice , it causes mysql update conflict in server side .
How can i ignore the further requests in php from the same client in a little time diffrence?
I have a php script that receives $_[‘post’] data from a button in flash
Share
Why not have a last updated timestamp in the database and then check that against the current time. If it’s in the last couple of seconds, then don’t run the MySQL query.