hi julian Julian Reschke wrote:
So when I use LOCK with Jackrabbit WebDAV, I get the locktoken back in the LOCK response, but a subsequent PROPFIND/DAV:lockdiscovery will not reveal the lock token?
you get it back if the jcr-session object attached to the request if the lock-holder. otherwise not.
...this definitively will cause problems for some clients -- not all of them keep the lock token, and rely on DAV:lockdiscovery to re-discover them.
so they rely on a xml entry that is marked with a ? hm. one possible (easy?) solution would be to keep the session objects for a while... that would allow to have access to the same session object through multiple requests, without having to remember the locktoken. but i wouldn't want to cache session forever... a client may die etc... angela
