Tom Muck's Blog
News and Views
2 posts
in January - 2007
Showing 1
| Next
(page 1 of 2)
Record locking system for ColdFusion 7
Thursday, January 18, 2007 10:21:03 PM
The second part of my article on record locking using CF 7 went live yesterday at Community MX. I saw some applications using Flex and the record locking capabilities and decided it was something I wanted to do with a regular CF application. Where I work we have quite a few simultaneous users who access job records -- one person will create the record, but then in the span of a few hours several others have to update the records with information. This was the perfect place to put the theory to work. Basically, an array is created in application scope that contains stucts with record ids and user ids. If a user is logged in and attempts to update a record that has a lock on it, it will be viewable only. The locks have a user-defined time limit on them not related to sessions, and a user can only lock one record at a time. Because the locking is done at the application level rather than at the database level, the lock can span multiple tables and update statements that pertain to one record id.
The first part sets up the sample data and the pages, and the second part shows all the locking functionality. The articles are free for members and a small fee for non-members.
Implementing a Record Locking System in ColdFusion 7 - Part 1
Implementing a Record Locking System in ColdFusion 7 - Part 2
Category tags: Community MX, Dreamweaver, ColdFusion
Posted by Tom Muck
Add comment |
View comments (0) |
Permalink
|
Trackbacks (0)
|
Digg This
2 posts
in January - 2007
Showing 1
| Next
(page 1 of 2)
Before posting comments or trackbacks, please read the posting policy.