I am developing website for user to submit a form online. I
have insertAction page1 that serves for this need. When a user
fills the stuffs on insertAction1 and hit submit button, it then
calls inserAction2 page to display the data. In the meantime, the
data go into the backend database.
Here is my problem, however, if the user reloads or refreshes
the browser while he is at insertAction page2. All the insert data
will be duplicated. Is there any way in ColdFusion or JavaScript to
avoid that or redirect to the update page? If so, how? Do you have
any existing code that I can use?
Thanks for your help.
Frank