thanks Phillip...that is exactly what I did.

Have a nice day! - Kinley


>From: "Philip Arnold - ASP" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: <cflock> around a <cfif> statement
>Date: Sun, 11 Nov 2001 16:12:17 -0000
>
> > Would I need a <cflock scope="session" type="readonly"> around
> > the following statement:
> >
> > <cflock scope="session" type="readonly">
> >    <cfif session.myvariable EQ "True">
> >         <cflocation ....
> >    </cfif>
> > </cflock>
>
>If you're just doing something simple, it may be easier to do;
><cflock scope="session" type="readonly">
><cfset tmpVar=session.myvariable>
></cflock>
><cfif tmpVar is "True">
>       <cflocation ...
></cfif>
>
>Philip Arnold
>Director
>Certified ColdFusion Developer
>ASP Multimedia Limited
>T: +44 (0)20 8680 1133
>
>"Websites for the real world"
>
>**********************************************************************
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>**********************************************************************
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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