OpenText Interview Question

how to avoid duplicate form submissions when you refresh the page?