Whenever I do a <cfquery> for INSERT or UPDATE statements, I always wrap the tags around <cftransaction> and <cftry>/<cfcatch>. Do I also need to do a <cflock> as well?
Is it better to do this:
<cflock><cftransaction><cftry>
Over this:
<cftransaction><cftry>
How does one affect over the other when dealing with, say 10 people, hitting the SUBMIT button which would trigger the action page?
_____________________________
Just Imagine.
Is it better to do this:
<cflock><cftransaction><cftry>
Over this:
<cftransaction><cftry>
How does one affect over the other when dealing with, say 10 people, hitting the SUBMIT button which would trigger the action page?
_____________________________
Just Imagine.