I use name="#session.sessionID#" in the CFLOCK, and that scopes it okay for 4.01 --
and 4.5.1 (with or without automatic read locking) runs fine.
Chris Norloff
---------- Original Message ----------------------------------
From: "Gene Kraybill" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Mon, 22 Jan 2001 14:31:09 -0800
>I'm struggling with implementing CFLOCK so it runs on BOTH CF 4.0.1 and 4.5.1. (The
>4.5.1 server has FULL CHECKING on.)
>
>Given that 4.0.1 FORBIDS the SCOPE parameter in CFLOCK and 4.5.1 REQUIRES it,
>I thought I'd do a check for which version of CF was running and stash the
>appropriate
>CFLOCK parameters into a local variable. For example, if CF 4.5.1 or better, I'd set
>the
>parameter var to be equal to 'SCOPE="Application" TYPE="Exclusive"', etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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