I'd recommend not using the Full Checking in 4.5.1 it is very
performance heavy. 4.01 didn't have the "scope" attribute, although
4.51 does have the "name" attribute. So if you wrote your locks in 4.01
syntax it would work in both.
<cflock name="#application.applicationname#" type="exclusive"
timeout=20>
When you are able to switch to 4.51, change the name attribute to the
scope attribute.
Steve Nelson
http://www.SecretAgents.com
Tools for Fusebox Developers
Gene Kraybill wrote:
>
> Trying again for help on this, rephrasing:
>
> Does anyone know a way to use CFLOCK so it works in both CF 4.0.1 and
> 4.5.1?
>
> I have an application written using the older CFLOCK parameter
> of "NAME", rather than the new ones of "SCOPE" and "TYPE". I know Allaire
> has a wizard to convert CFLOCKs to the new parameters, but my problem is I
> need to be able to run the same code on BOTH 4.0.1 and 4.5.1. The 4.5.1
> server has "full checking on" for security reasons (beyond my control), so
> if I include both the old and new parameters with each CFLOCK, it throws
> an error.
>
> Someone tell me there's a way around this!
>
> Gene Kraybill
>
> ---------------------------------
> Gene Kraybill
> LPW & Associates LLC
> www.lpw.net
>
>------------------------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
>with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]