Hi all...
I'm wondering if someone can give me some tips on how to go about locking a record on an ASP page before I jump in with both feet...
With most ASP pages accessing database info with ADO, the common practice is to open a recordset, grab the values, and close the recordset; then set it to nothing...
I am wondering if there is a way to maintain a lock on a record after a user has opened the asp page and is working through the fields.
I'm thinking of adding a boolean field to the record table as a flag to indicate whether or not a user is editing that record. The to write some Script to kick all other users out if that flag is set to true.
Is there a better way about this?
Earnie Eng
I'm wondering if someone can give me some tips on how to go about locking a record on an ASP page before I jump in with both feet...
With most ASP pages accessing database info with ADO, the common practice is to open a recordset, grab the values, and close the recordset; then set it to nothing...
I am wondering if there is a way to maintain a lock on a record after a user has opened the asp page and is working through the fields.
I'm thinking of adding a boolean field to the record table as a flag to indicate whether or not a user is editing that record. The to write some Script to kick all other users out if that flag is set to true.
Is there a better way about this?
Earnie Eng