W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2001

RE: Are you using lock discovery?

From: Clemm, Geoff <gclemm@rational.com>
Date: Tue, 26 Jun 2001 21:37:39 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B10377064A@SUS-MA1IT01>
To: WebDAV WG <w3c-dist-auth@w3.org>
I hope by "grabbing the lock token", you meant unlocking the resource
and asking for a new lock (and then, only after warning the user about
the risk of overwriting the value from another editor session that they
forgot about).  This at least gives you some protection from forgetting
about another session you had open (an attempt to update from that
earlier session will then fail because the lock token is no longer valid).

Cheers,
Geoff


-----Original Message-----
From: Jim Whitehead [mailto:ejw@cse.ucsc.edu]
Sent: Tuesday, June 26, 2001 7:23 PM
To: Jason Crawford
Cc: WebDAV WG; Joachim Feise
Subject: RE: Are you using lock discovery?


> <<
> As I recall, the DAV Explorer client
> <http://www.ics.uci.edu/~webdav/> uses
> lock discovery. I believe it's smart enough to do lock discovery if a
> resource is locked, and DAV Explorer doesn't have the lock token. It then
> tries the lock token on the off chance the requesting principal actually
> owns the lock.
> >>
> The spec deprecates that kind of client behavior for the reason that two
> programs that don't know about each other might be logged on as the same
> person, right?

Not really -- an authoring program will at least know that it had to do lock
discovery to grab the lock token, and presumably would then query the user
for whether they want to grab the lock.

In the case of DAV Explorer, we felt that a user might want to undo a lock
taken out by themselves using another program as a way of either testing the
protocol (and applications), or undoing a lock after an app. had crashed.

- Jim
Received on Tuesday, 26 June 2001 21:31:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:56 GMT