What can be used in Coldfusion to control concurrent access to a block of code or a scope?

Questions by fred   answers by fred

Showing Answers 1 - 9 of 9 Answers

JHarrington

  • Nov 18th, 2014
 

The cflock tag is used to unsure the integrity of data by controlling concurrent access to a particular scope.

Example:

Code
  1. <cflock scope="Session" type="exclusive" timeout="1">

  2.     <cfset session.username = ""/>

  3. </cflock>

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions