Web form repeatedly resubmits itself after submission by Apple users

1 week ago 4
ARTICLE AD BOX

I have a .php file on the web which (in case it's relevant) calls itself when a user presses "Submit". That is, the file is called newform.php and the form within that file looks like this:

<form method=POST action="newform.php" id="trythis">

...

<input type="submit" value="Submit"></p>

</form>

Mostly, this works fine. Occasionally, though, a user will leave the browser window open after submitting the form, which then re-submits itself anywhere from a few times a day to a few times a week until that window gets closed (so I get several duplicate submissions from the same user).

I have enough data to be sure of these things:

This is not caused by users repeatedly hitting the submit button. It is also not caused by users refreshing the page. In many cases, the users are not even aware that they've left this window open until I contact them and ask them to close it.

This happens **only** when the user is submitting from an Apple product (and leaving the window open).

This only became a problem a few years ago (I can't remember exactly when), after many years in which the problem never occurred. The onset of the problem might or might not have coincided with my tweaking the code; this is another thing I can't remember.

Question: What's causing this and how do I stop it?

Read Entire Article