Hi,
I have a page where users can register. If after registering they go back and hit refresh on the browser another record is written to the MySQL Db.
What would you suggest is the best way to go about preventing this ?
- save the id as a $session value and check if it already exists?
- "reset" the $_Post['submit'] value
or is there another way ?
Thanks