We have a survey web app that randomly inserts duplicate survey records after user completes survey.
I tried to fix the problem by redirecting to a confirmation.aspx page, and therefore the survey page doesn't get reposted when user hits F5. That fix worked.
However, we have noted that duplicate records are still getting in, sometimes 20 minutes apart, sometimes a minute.
If you click on the Back Button, the confirmation page won't let the user go back, so it will just post the confirmation page back.
Here's an example of the duplicate records:
CustomerSurveyID CustURL SurveyType SentDate SubscriberID ResponseDate CustomerID
2665 http://survey.xxx.com/ConsumerSurvey.aspx?17157&281600783&2&2014-05-27T00:00:00 2 2014-05-27 00:00:00.000 17157 2014-05-29 16:36:41.787 281600783
2666 http://survey.xxx.com/ConsumerSurvey.aspx?17157&281600783&2&2014-05-27T00:00:00 2 2014-05-27 00:00:00.000 17157 2014-05-29 16:37:08.027 281600783
We have no idea what the end user could be doing to cause this duplicates to get inserted in the database. Is there a reason that could be happening?