I am using the Alagad Captcha Component and am not familiar with CFLOCK.
Is this correct for locking shared variables on the application.cfm
page? Do I need to add conditional expression also?
<cfapplication name="esuCaptcha" sessionmanagement="yes" />
<cflock scope="Session" timeout="30" type="Exclusive">
</cflock>
<cfif NOT IsDefined("application.esuCaptcha")>
<cfset application.esuCaptcha = CreateObject("Component",
"Captcha").configure(expandPath("."), "XXXXXXXXXXXXXXXXXXXXXXXXXXX") />
</cfif>
Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
[email protected]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4