Making form submissions unique using PHP and HTML

Posted by canadiancreed on Stack Overflow See other posts from Stack Overflow or by canadiancreed
Published on 2010-05-03T21:22:58Z Indexed on 2010/05/03 21:28 UTC
Read the original article Hit count: 255

Filed under:
|
|

Hello all

I'm currently developing a page where the user fills out a form, and when submitted they are taken to the next page. When on the next page, I want to have it so that if the user went back to the previous page using the back button, or hit refresh, the submission will not be saved into the DB.

Now I recall reading somewhere that if you had a way to make each submission unique, this issue is averted, but after screwing around for hours on end, for the life of me I cannot recall how this could be done (using PHP), so long story short has anyone ran into this, and if so, what was your solution?

© Stack Overflow or respective owner

Related posts about php

Related posts about html