> 
> **Possible Duplicate:**  
> 
> [How to prevent duplicate posts via a browser refresh?](https://stackoverflow.com/questions/6718150/how-to-prevent-duplicate-posts-via-a-browser-refresh) 
> 
> 
> 

I have a simple html `form` to give some info from users and register it two database.
all things are OK.
but the problem when begin that user press F5 or refresh the page; in this case previous info again register to database and create duplicate.

my question from you is how I can delete headers after register info in database