Hi,

I'm implementing the lock/unlock mechanism using the Slide client API.
When I lock a resource with a given user and a given timeout, and if I want to unlock 
it, the api doesn't see that the user is the same : it says that the resource is 
locked (code 423), but in the code, it finds a lock value null in this part of the 
unlockMethod :

        setClient();
        // Get the lock for the given path.
        WebdavState state = (WebdavState) client.getState();
        // Check the given path is alright.
        path = HttpURL.getPath(path);
        String lock = state.getLock(path);
        if (lock == null)
            return false;    // so it stops there

Can someone tell me why ?
How can I 'keep' the lock to be sure I can unlock a resource ?

Thanx

Reply via email to