Transaction SNAFU

bdbd
Sat, 25 Jan 2025 13:25:52 +0000
Questions

I have a multi-file solution where data manipulation is done in one file and all else is done in others. I find transactions a challenge when changes to security settings are involved.

The security settings in this solution are "tied" to a table that contains account names, no password, and user preferences. The table's interface allows for the creation / modification / deletion of records and their tied accounts (using only temporary passwords when needed).

All record creation / modifications / deletions are done in the data manipulation file. Security settings being a non-sharable per-file thing, changes to it must be done in all files. That's the rub!

I ideally want transactions to encompass the creation / modification / deletion of a user records and their tied accounts. My challenge: transactions cannot encompass multiple files; using error capturing methods is complex and fails utterly during crashes.

Anyone have a simple(ish) solution? The only I can think of is quite complex.

6 posts - 3 participants

Read full topic