You could do this...
<cflock scope="session" timeout="30" type="readonly">
<cfset variables.userid = session.userid>
</cflock>
<cflock scope="application" timeout="30" type="exclusive">
<cfset application.usersloggedin["#variables.userid#"] = VALUE>
</cflock>
Evan
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 30, 2001 2:24 PM
> To: CF-Talk
> Subject: CFLocks??? overlapping..
>
>
>
> Hi All,
> Can someone please help me with Cflocking this session
> and application variable
>
> <CFSET APPLICATION.USERSLOGGEDIN["#Session.Userid#"]=SESSION>
> I am adding the Current Session user structure to the application
> structure to keep track of the users in the app.
>
> if i turn off full checking on locks in cf admin, this works
> fine.
> Appretiate all help
> Thanks
> Joe
>
>
> -----
> Sent using MailStart.com ( http://MailStart.Com/welcome.html )
> The FREE way to access your mailbox via any web browser, anywhere!
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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