[TYPO3-dev] locking of records

Kasper Skårhøj kasper2006 at typo3.com
Fri Jan 27 23:36:58 CET 2006


that serial number already exists and is called "tstamp".

- kasper


On Jan 27, 2006, at 22:37 , Ernesto Baschny [cron IT] wrote:

> On 27.01.2006 20:44, Peter Russ wrote:
>
>>> 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?
>
> I would't use a checksum, just comparing some serial number that is
> attached on every record and incremented after saving.
>
>> 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!
>
> True, sounds like a nice solution.
>
> Cheers,
> Ernesto
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev





More information about the TYPO3-dev mailing list