Question
Preventing duplicate form submission when page is loaded from history
Hi
We have record insertion forms some of which insert unique records into sql databases and some which may not. Is there a way of stopping the user pulling the page from history (or using the back button) and then resubmitting the data?
I have put a trigger on the databases that basically updates existing data rather than re-inserting it if a duplicate is entered but as some of the record submissions are not unique this isn't always possible. I would also rather restrict the submission client side to reduce bandwidth and database calls.
I have tried various 'no caching' techniques on the page but none seem to work. Anyone have any bright ideas ... I am all out of ideas bright or not!!!
TIA
Karen
We have record insertion forms some of which insert unique records into sql databases and some which may not. Is there a way of stopping the user pulling the page from history (or using the back button) and then resubmitting the data?
I have put a trigger on the databases that basically updates existing data rather than re-inserting it if a duplicate is entered but as some of the record submissions are not unique this isn't always possible. I would also rather restrict the submission client side to reduce bandwidth and database calls.
I have tried various 'no caching' techniques on the page but none seem to work. Anyone have any bright ideas ... I am all out of ideas bright or not!!!
TIA
Karen
