PHP For Beginners, Ep 44 - The PRG Pattern (and Session Flashing)

In this episode, we'll discuss the PRG (Post-Redirect-Get) pattern, and how it can be used to prevent duplicate form submissions. Currently, we're returning a view directly from the POST request in the event of failed validation, however, this is far from ideal. Let's review the problem, and then seek a solution. Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com. Laracasts: https://laracasts.com Laracasts Twitter:   / laracasts   Jeffrey Way Twitter:   / jeffrey_way