Question

Hello everyone dose anyone know any tutorials that explain how to using sessions to prevent re-inserting data or some other form of method in a form. And if u have any suggestions in how to do this do not hesitate to post your ideas tnx in advance.

Was it helpful?

Solution

There is a design pattern, called the PRG Pattern designed solely to avoid the re-submission of data. Basically, the idea is, when the user has submitted their content, the page is redirected, meaning there is no chance of a re-submission.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top