1
I am having the following problem, any button in my project that leads the user to insert some information in the database, if it is pressed several times quickly (without giving time for the page update and display the data), it inserts several times the same data that was written in the inputs in the database.
I don’t know if Laravel has something against flaws of this kind, but if it doesn’t, I believe that adding a few seconds or minutes interval for each next insertion would solve, someone knows some solution to it?
Version of Laravel used: 5.6
You can lock the button after clicking, already thought about it?
– LSA
why it is that Voce at the end of the insertion does not send the user to another page?
– Luís Almeida
This is exactly what I’m talking about, there is no time to forward, if you press several times it floods with several inserts, the page does not have time to load
– João