Assign #session.picks# to a local variable for that comparison.

-----Original Message-----
From: Yager, Brian T Contractor/Sverdrup
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 1:16 PM
To: CF-Talk
Subject: CFLOCK and CFIF


Hello list..Another, hopefully, quick question.  

Is there a problem with putting a cfif tag within a cflock?  Here is an example:

  <cflock timeout="45" throwontimeout="No" name="look_pick" type="READONLY">
    <cfif session.picks is "Yes">
  </cflock>

  Do insert

  <CFELSE>
  <CFLOCATION somewhere>
  </CFIF>

Would this cause any problems?

Thanks for the help!

Brian Yager
President - North AL Cold Fusion Users Group
http://www.nacfug.com
Sr. Systems Analyst
Sverdrup/CIC
[EMAIL PROTECTED]
(256) 842-8342


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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