mercredi 24 juillet 2019

Show "Page expired" on back button - Laravel

I have a form that is sent via POST method and it display's a blade view after submitting. Many users hit the browser back button and resubmit the form. How can i show a "Page expired" when the user hits the back button?

I want this so that the user must follow the process of filling the form from scratch. I say from scratch because submitting the form is the 3rd step. Before this i have 2 other steps.

When the user hits the back button on the 3rd step i want to show him a page expired or maybe redirect him to the 1st step.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2GtpGku
via IFTTT

Aucun commentaire:

Enregistrer un commentaire