[Zope] Locking
aZaZel
azazel@chiaroscuro.com
Wed, 04 Apr 2001 18:34:46 +0100
Ron Baum wrote:
> I am currently working on a project where I would like to give only one person
> at a time the ability to save a record. For instance if 2 people go to a page
> that can save the same data I would like to Lock out one of the 2. I can think
> of many ways to actually lock. My problem is how do I unlock if the person that
> locked the file just clicks the X on the browser window?
>
> Thanks in advance.
>
You should lock the resource only when the user really writes to it
where is the problem?
azazel