I believe that the syntax for the cflock tag in 4.5 is different - you can
omit the type attribute. You just need the scope and the timout.
----- Original Message -----
From: "Anthony Israel-Davis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 21, 2000 1:59 PM
Subject: CFLOCK timing out - why?
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01BFDBB2.E36B3E82
> Content-Type: text/plain;
> charset="iso-8859-1"
>
> Good day, all:
>
> I am trying to lock a session variable but am getting the following error:
>
> "Timed out while waiting to obtain exclusive access"
>
> All my other locks on the sight seem to be working but this one has me
> stumped. The template with the error is being called from a cfinclude.
I'm
> using 4.5 server.
>
> code:
> ---------
> <cflock scope="session" type="exclusive" timeout="15">
> <cfset session.download="valid">
> </cflock>
> --------
>
> Thanks,
>
> ant
>
> ------_=_NextPart_001_01BFDBB2.E36B3E82
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 5.5.2650.12">
> <TITLE>CFLOCK timing out - why?</TITLE>
> </HEAD>
> <BODY>
>
> <P><FONT SIZE=3D2>Good day, all:</FONT>
> </P>
>
> <P><FONT SIZE=3D2>I am trying to lock a session variable but am getting =
> the following error: </FONT>
> </P>
>
> <P><FONT SIZE=3D2>"Timed out while waiting to obtain exclusive =
> access" </FONT>
> </P>
>
> <P><FONT SIZE=3D2>All my other locks on the sight seem to be working =
> but this one has me stumped. The template with the error is being =
> called from a cfinclude. I'm using 4.5 server.</FONT></P>
>
> <P><FONT SIZE=3D2>code: </FONT>
> <BR><FONT SIZE=3D2>--------- </FONT>
> <BR><FONT SIZE=3D2><cflock scope=3D"session" =
> type=3D"exclusive" =
> timeout=3D"15"> </FONT>
> <BR><FONT SIZE=3D2> <cfset =
> session.download=3D"valid"> </FONT>
> <BR><FONT SIZE=3D2></cflock> </FONT>
> <BR><FONT SIZE=3D2>-------- </FONT>
> </P>
>
> <P><FONT SIZE=3D2>Thanks, </FONT>
> </P>
>
> <P><FONT SIZE=3D2>ant </FONT>
> </P>
>
> </BODY>
> </HTML>
> ------_=_NextPart_001_01BFDBB2.E36B3E82--
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.