Incorrect. You should use CFLOCK when reading as well.

Basically, if you TYPE session, server, or application, you should have a
CFLOCK around it.

This includes:

<CFPARAM NAME="Session.Foo" DEFAULT=1>

And,

<CFOUTPUT QUERY="Session.StoredQuery">
..
</CFOUTPUT>

=======================================================================
Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com)
Allaire Certified Instructor and Member of Team Allaire

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda


> -----Original Message-----
> From: Gregory Harris [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 06, 2000 1:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: When should I use CFLOCK?
>
>
> >>>>>Does anyone have any
> guidelines on <cflock> usage?
>
>
> 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.
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.
>
> Gregory Harris
> Los Angeles ITA Dept.
> [EMAIL PROTECTED]
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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/cf-talk@houseoffusion.com/
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