> You should use <CFLOCK> when you are setting session
> variables to insure that you maintain consistency throughout
> your code.  Reading however, is not a problem.

Unfortunately, under high-volume usage, this may not be the case. If you're
reading a variable, and another request is changing it, your read might not
work out too well. You'd think that unless an application uses frames this
wouldn't be a problem, but you may run into odd problems with multi-threaded
browser requests or CFLOCATION wackiness.

The gist of this is that you should lock your reads with TYPE="READONLY".

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

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