Well, assuming APPLICATION.applicationmame is the same as the hard coded
name there is little difference between them. The variable option makes me
feel a bit better as it is just a little safer. If you make a typo in the
hard coded name it'll work, but will be a different lock. If you make a typo
in the variable name it'll throw an error and you'll know.

--- Ben



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2000 8:44 AM
To: [EMAIL PROTECTED]
Subject: RE: CFLOCK and server variables


Yes, but do you recommend (4.0x)

<cflock name="#application.applicationname#" ...>

as Allaire tech support says, or

<cflock name="myapplicationname" ...>

as Dave Watts says?

Not to put you on the spot or anything... :-)

-----Original Message-----
From: Ben Forta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 3:40 PM
To: [EMAIL PROTECTED]
Subject: RE: CFLOCK and server variables


In 4.0x use <CFLOCK NAME...>, in CF4.5x use <CFLOCK SCOPE...>

--- Ben



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 1:19 PM
To: [EMAIL PROTECTED]
Subject: CFLOCK and server variables


Ok, I've seen that (in 4.01) I should use #application.applicationname# for
the CFLOCK "name" when locking application variables; what do I use for
locking server variables?

-------------------------------
Martin Herbener
[EMAIL PROTECTED]
Kentucky Department of Education


----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to