I am trying to decrease the server requests when user clicks on the link/submit the form two or more times.
When server is running slow, the page shows slowly, so user is tend to click the link/submit few more times. I want to detect this and cancel the process.
Does PHP have function to check whether the process is already running or not?
Right now, I put some JavaScript code to detect the double clicks and submits, and when the link/form was already clicked/submitted, then it returns false.
Can same sort of things be done in PHP or Apache?
Thanks,
Checking clicks over two times by same user
Moderator: General Moderators