Jump to content

Duplicate Insertion Problem !


waseem

Recommended Posts

Hi Friends !

 

I need to discuss a problem with you.

When we fill a customer info form, and redirect to other page. but go back by browser's back button and resubmit the form.

In this case duplicate data is inserted. Or when we refresh a page multiple data is inserted, so HOW TO AVOID this terrible problem ?

Link to comment
https://forums.phpfreaks.com/topic/218473-duplicate-insertion-problem/
Share on other sites

One way that will work except where your visitors have meta redirects disabled would be to set up two web pages where the first consists of nothing except an immediate redirect to the second (plus a link for those with meta redirects disabled). Pressing the back button on the second page will go back to the first page which will immediately redirect back to the second page.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.