Post Add to DB

Hi there,

If I am adding something to a DB using POST and I want to prevent the item being added twice when the user clicks refresh, how can I do this?

thanks

Sure, the most common way is to implement the Post/Redirect/Get pattern. :slight_smile:

That’s great thanks Anthony

Hey sorry,
What about if I have to return to the same page, in this case I think it’s necessary?