Forum > Databases

PropStorage to a database


When developing database applications I like to store SessionProperties and other values to the database as well. So I sort of rewrote additional PropStorage components for writing to a blob field instead of a file. Make sure that your database connection is up and alive when the components take action, and while they care for opening, editing and posting you will also have to make sure that updates are applied and committed. An inactive but connected TSQLQuery with sqoAutoApplyUpdates and sqoAutoCommit for instance should do fine.

If in doubt consult the source code. Or ask.


[0] Message Index

Go to full version