3 quick Qs about Locking:

1. how do you set the right timeout value? i.e - what are the rules and opinions on 
that? (longer
time or shorter and "efficient"?

2. throwonerror? yes or no? what is recommened? assuming the program may not use the 
current
variable?

3. please look at this:

1. #application.cats[url.catid].catNAME#
2. MORE "PURE" HTML
3. MORE "PURE" HTML
4. MORE "PURE" HTML
5. <cfloop index="i" from="1" to="#Arraylen(application.subcats)#">

6. MORE "PURE" HTML
8. MORE "PURE" HTML
9. </cfloop>

what is better? to provide 2 "quick" locks around line#1 and around line#5-9
or to provide a "bigger" lock around lines1-9?
in general, when the content inside the lock is pure html, with no use of CF/Other 
Process
and ofcourse, no other shared variable, is it necessary to close and re-open another 
lock?


Thanks,

-=Michael


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to