I have taken over a report system written in ASP whereby the report number is the 'key' used in updating a DB. The issue I am having is that with the introduction of IE7 plus the increasing popularity of FireFox, our users in creating new reports are opening existing reports in new tabs within the same browser. They do this to copy data from an existing report to the new one. What effect this has is when they submit the new report, its actually the existing report that is being updated in the database as in opening the existing report seems to overwrite the report number session variable (thus the new values are added to the existing report, a new report is not created). Is there an easy work around, as unfortunately the design of the system (as bad as it is) may require a complete rework to overcome this.... TIA.
On each page, have a hidden field, and fill it with the "current" DBKeyID. Then on save if the Current DBKeyID matches the sessionID, you can save, otherwise throw an error... or don't use sessions at all - use them on a hidden-form-element basis.