Sorry if it's already been answered...
You are setting the value of the session variable, not just reading it,
so use TYPE="Exclusive".
-David
On Wed, 13 Dec 2000 11:43:08 +1100 Seamus Campbell <[EMAIL PROTECTED]>
writes:
> An error has occurred while processing the expression:
>
session.siteid=CFTempOnlyForSetVariableNeverUseThisNameInYourCFMLCode1223
334
>
> Symbol session.siteid is in a scope that contains data shared across
> threads and cannot be accessed without an active lock
>
> The error refers to this line
> <CFPARAM name="session.siteid" default="0">
>
> I have a lock around it
> <CFLOCK TIMEOUT="10" THROWONTIMEOUT="No" TYPE="READONLY"
> SCOPE="SESSION"></CFLOCK>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists