title: How do I stop the Back and Refresh buttons from resubmitting my form?
body: <p>I am doing web development. </p>
  
  <p>I have a page to do with credit card, which when user click "refresh" or "Back", the transaction will be performed one more time, which is unwanted.</p>
  
  <p>This include Browser top left "Back" &amp; "Refresh" button, "right click->Refresh/Back", press "F5" key.
  This is to be done on certain cgi page only, not all of them.</p>
  
  <p>Can this be done using Javascript? Or any other method?</p>