CodeIgniter Forums
Confirm Form Resubmission when pressing back button - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Confirm Form Resubmission when pressing back button (/showthread.php?tid=65764)



Confirm Form Resubmission when pressing back button - anup6191 - 07-21-2016

hi,

i have problem to get back when pressing back button and show.....

this msg..

Confirm Form Resubmission
This webpage requires data that you entered earlier in order to be properly displayed. You can send this data again, but by doing so you will repeat any action this page previously performed.
  • Press the reload button to resubmit the data needed to load the page.
pls help me....


RE: Confirm Form Resubmission when pressing back button - skunkbad - 07-21-2016

If the previous page was generated from a post request, this will always happen.


RE: Confirm Form Resubmission when pressing back button - anup6191 - 07-26-2016

thank U sir..

this problem solved.


RE: Confirm Form Resubmission when pressing back button - ivantcholakov - 03-06-2017

The way I use is making form validation, saving the result within the database; then within a flashdata entry I store a feedback message for confirmation and then - redirection (which is a GET method) to the same page/form.