I have a hidden parameter called "act", which should pass one of the values "load", "save" when I click the "Send" button.
The problem is pressing the F5 (update) button after clicking the submit button, because the url already contains "& act = save", so prssing on F5 actually passes (cgi) the value "save" again (and it will perform the save operation again, even if I did not press the submit button.
Queston: how can I prevent the sending of & act = save when I click reffresh?
thanks
Thanks to everyone except the "Submit" button, the "Save" button means that I want to leave the user to cancel the admin-save, so do not leave the page. For this reason, I do not think that a session can help distinguish between a second save or a first update.
source share