I can't believe I'm still asking questions about cflock. LOL

Refresh my memory, because I'm sure I've asked this and it's been 
answered, but I can't find it in my memory banks. :)

Example: I'm setting a variable named session.user. This is a pretty 
common variable name which would likely be used by several developers 
on a shared server.

When I exclusively lock the setting of the variable using name (CF 
4.01), should the name be exclusive to the user, to the application, 
or to the server (likely impossible).

So, if my application is named "myuniqueapp", should I set the name 
attribute to:

cflock type="exclusive" name="myuniqueapp_setuser"

which would make it unique to my application

or something like

cflock type="exclusive" name="#client.cfid#_#client.cftoken#_setuser"

which would make it unique to the user.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to