Web Development
ajaxdb.txt
Associated article: AJAX & Record Locking
Tags: Database Web Development
Published source code accompanying the article by David Perelman-Hall in which he presents a client-based technique for record locking of multi-user data-driven web applications--and it all hinges on AJAX. ALso see AJAXDB.ZIP
AJAX & Record Locking
by David Perelman-Hall
Listing One
public Page execute(UrlArguments args, Person requester)
{
recordID = args.getValue("recordID");
recordLock = map.get(recordID); // try to get lock for record
lockOwner = requester; // changes if lock owned by someone ...


