Why is this form not submitted twice when hitting the button twice?

后端 未结 4 1962
予麋鹿
予麋鹿 2021-01-24 09:07

Edit 25.07.2018: As Pawnesh Kumar said in the answer, this seems to be a browser issue. If I hit the button multiple times in Firefox the below script will only

4条回答
  •  情深已故
    2021-01-24 09:27

    1. How do you know that your form was not submitted twice or more times?

    The fact, that you do not have multiply rows in database doesn't proof that. Maybe column "name" is unique in your table?

    1. Check logs of your webserver. Example for apache: sudo cat /var/log/apache2/access.log

    There you will find info of how many request you recieved.

提交回复
热议问题