Hi,
Is there a way to detect when a page is reloaded or prevent a database update on a page reload?
I have 2 pages, page1.cfm and page2.cfm.
page1 submits to page2 and page2 updates the database and displays some information.
I want to prevent page2 from inserting data in the db again when F5 or the Refresh button is pressed.
The only solution i found was to have the processing in a separate file, i.e. page1 -> processingPage -> page2.
I'd like to avoid that coz that'd be a huge modification.
Thanks!
Is there a way to detect when a page is reloaded or prevent a database update on a page reload?
I have 2 pages, page1.cfm and page2.cfm.
page1 submits to page2 and page2 updates the database and displays some information.
I want to prevent page2 from inserting data in the db again when F5 or the Refresh button is pressed.
The only solution i found was to have the processing in a separate file, i.e. page1 -> processingPage -> page2.
I'd like to avoid that coz that'd be a huge modification.
Thanks!