Hi,
is it possible to destroy form data after the data is being stored? I make myself clear here:
Situation: User inputs data with a form. I store the data in a db with asp. User gets message 'succesfully stored data'. When the user hits 'refresh', the form data is being sent again. I want to avoid this.
I have one solution: redirect the user to another page or section on the page. The problem is I have so many forms that the code is beginning to become very huge.
I'm searching a way to discard all form data after the data is being stored so that the user can refresh as much as he wants.
Thanks,
Steven
is it possible to destroy form data after the data is being stored? I make myself clear here:
Situation: User inputs data with a form. I store the data in a db with asp. User gets message 'succesfully stored data'. When the user hits 'refresh', the form data is being sent again. I want to avoid this.
I have one solution: redirect the user to another page or section on the page. The problem is I have so many forms that the code is beginning to become very huge.
I'm searching a way to discard all form data after the data is being stored so that the user can refresh as much as he wants.
Thanks,
Steven