[FX.php List] Generating Safe links to Database Records

Steven Thoms sthoms at wavecomm.com
Tue Jan 17 22:44:05 MST 2012


Exactly, if you query a -find on the -recid before you commit, you can  
compare the modid to the one you initially received for the edit. If  
they match, proceed, otherwise tell the user that the record was  
modified by another user, show them the new data and let them edit  
that instead. There are a number of options procedurally, but if a web  
site is used on rapidly changing data, the check is worth the headache  
of overwrites.

Good Luck,

Steve


On Jan 17, 2012, at 8:28 PM, Malcolm Fitzgerald wrote:

> For managing changes, the "recid.modnbr" combination can provide a  
> simple test for changes.



More information about the FX.php_List mailing list