[thelist] CF smoke and mirrors

Judah McAuley judah at wiredotter.com
Thu Jul 19 14:45:02 CDT 2001


At 02:20 PM 7/19/2001 -0400, you wrote:


> > <cfquery name="get_profile_columns" datasource="#application.datasource#"
> > dbtype="#application.dbtype#">
> >          SELECT      *
> >          FROM        member_profile
> >          WHERE     member_id = #session.member_id#
> > </cfquery>
> >
>
>I hate to be anal, but don't forget that you need a CFLOCK tag pair around
>the code above. Scope would be Application and type would be ReadOnly.

Damn.  Caught in the act.  I thought we had decided that CFLOCK only needed 
to be used when writing to variables?  I better go back and re-read my 
locking articles.

Thanks for the swift kick in the head,
Judah





More information about the thelist mailing list