try giving the lock a name or a scope attribute


-----Original Message-----
From: Peter Benoit [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 4:11 PM
To: CF-Talk
Subject: session vars


I'm trying to check for the existance of a session variable using CFPARAM,
if the variable doesn't exist, the user isn't logged in.  Like:

<CFLOCK TIMEOUT="5" THROWONTIMEOUT="No" TYPE="EXCLUSIVE">
<CFPARAM NAME="SESSION.LOGGEDIN" DEFAULT="FALSE">
</CFLOCK>

I'm getting this error msg:

Symbol SESSION.LOGGEDIN is in a scope that contains data shared across
threads and cannot be accessed without an active lock.


Anyone have experience with this?   I need help.

-Peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to