This is the scenario: I want to execute a MySQL stored procedure from a PHP page only on two events:
But it will NOT execute if the page is Refreshed (by clicking the refresh button in the browser).
The page is available to logged-in users only.
Can someone please suggest possible solutions to such a scenario?
I solved this by saving some SESSION variables and then checking those variables when the page is refreshed.