Lock.unlock() (Method)

Relinquish a lock on the object.

Availability:

JavaScript - 1.2
Netscape Enterprise Server - 3.0
JavaScript syntax:NESmyLock.unlock()

You should always aim to relinquish a lock as soon as you can. They are not intended for use as a means of reserving server facilities but as a means of preventing clashes between sessions. If the unlocking is successful, then true will be returned, and false otherwise.

See also:Lock.isValid()