[TYPO3-dev] locking of records

Peter Russ peter.russ at 4many.net
Fri Jan 27 20:44:45 CET 2006


Ernesto Baschny [cron IT] schrieb:
[...]
> I think more interesting would be consistency checks on SAVING of
> records. This is called Optimistic Locking.
[...]
Good point.
But how would you handle that technically?
Checksum on what, which fields are relevant for the hash?

IMHO it might be easier to refresh the lock automatically every minute 
and kill all obsolete locks when trying to open a record for editing. No 
cron required!

I could provide code for that.


Regs. Peter.

-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list