I keep getting this message with a certain CFLOCK:

"Timed out while waiting to obtain exclusive access. The error occurred while 
processing an element with a general identifier of (CFLOCK)..."

I have been able to isolate the problem by constructing the following test template. 
The 
first CFLOCK always works fine, but the second one always times out.

<CFLOCK NAME="#Session.SessionID#" timeout="30">
        <CFSET Session.Total = "123">
</CFLOCK>
<cfinclude template="../functions/custinfo.cfm">
<CFLOCK NAME="#Session.SessionID#" timeout="30">
        <CFSET Session.Total = "123">
</CFLOCK>

The CFINCLUDEd template that seems to cause the problem makes read access to a 
number of session variables. This is on a test site where nobody else is accessing 
this 
template. (I'm using the NAME parameter because this code needs to work with both 
4.0.1 and 4.5.1.)

Can someone please help?

Gene Kraybill
---------------------------------
Gene Kraybill
LPW & Associates LLC
www.lpw.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

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

Reply via email to