Duplicate record created when page loaded from cache

Duplicate record created when page loaded from cache

  

Hi There,


While debugging, I noticed that when I use browser's back button to go back to the page where a form was submitted to create record, and I hit the submit again, a duplicate record is created. What can I do prevent this? 


Thanks,
Gurvinder

Hi Gurvinder,

This is pretty standard browser behaviour. There's little you can do, except for checking when saving whether there's already a record with that specific data, and take action if there is.