jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: lock not session scoped
Date Thu, 13 Jul 2006 06:47:07 GMT
hi paco

Paco Avila wrote:
> If I create a lock with isSessionScoped=false, when I perform logout and
> login I have a new session and can't unlock this node. Should I
> serialize and reutilize the session?

for the open-scoped locks you have to transfer the lock token
to the Session that you want to become the lock holder.

see Session.addLockToken(String) and Session.removeLockToken(String)


View raw message