How to prevent duplicate entry of data on page refresh in codeigniter?
Typical approach is to do a redirect after data is posted.
Otherwise it can be a mess. It’s all browser related. Not a server side issue at all.
1 Like
As mentioned, the proper method is a redirect and is known as PRG - Post, Redirect, Get.
https://en.wikipedia.org/wiki/Post/Redirect/Get
1 Like
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.