David,

> Another question on understanding CFLOCK.   when you say reading the
> variable what is considered a read.   Any time you use the variable say in
a
> cfoutput.  Is this a read and should be locked?
>

You'd be correct in that assumption.

Also in CFSETs and CFPARAMS, using the variable as path for an CFINCLUDE
etc. etc.  Basically anything that will return the contents of the variable
to some part of CF is considered a read.

I think the only time that it doesn't really do a read is when you do
something like : IsDefined("session.myvariable"), because this isn't reading
the contents, only checking for the existance of the variable.  Having said
that though, there is still some debate about this.  Comments anyone?

Regards

Stephen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to