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() |
Prev | Home | Next |
Lock.prototype | Up | Logical AND (&&) |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |