You forgot to scope your variables scoped variables. :)

Adam.


> -----Original Message-----
> From: Keith [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 19, 2002 1:37 PM
> To: CF-Talk
> Subject: Confessions of a sloppy non-CFLOCKer
> 
> 
> <cfsetting EnableSillinessOnly="Yes">
> <cfset vBadProgrammerType = "sloppy non-CFLOCKer">
> 
> <cftry>
> 
> <cflock scope="session" timeout="150" throwontimeout="Yes" 
> type="READONLY" >
> <cfset vMyName = session.UserName>
> </cflock>
> 
> <cflock scope="server" timeout="150" throwontimeout="Yes" 
> type="READONLY" >
> <cfset vMrWatts = server.MasterCFProgrammer>
> </cflock>
> 
> <cfoutput>
> <cflock scope="application" timeout="150" 
> throwontimeout="Yes" type="READONLY"
> >
> I, #vMyName#, wish to apologize to #vMrWatts#. and to
> all #application.ListName# members.
> </cflock>
> 
> <cflock scope="session" timeout="150" throwontimeout="Yes" 
> type="READONLY">
> I've been pushing a discussion of #session.DiscussionTopic# 
> which, with my own
> help, has gotten out of hand. If it's not already clear to 
> everyone, I am a
> #vBadProgrammerType#.
> </cflock>
> 
> <cflock scope="application" timeout="150" 
> throwontimeout="Yes" type="READONLY"
> >
> I, #vMyName# hereby repent.   From this day forward, I will 
> do my coding in
> the clean, profession style that has been recommended by 
> prominent members of
> #application.ListName#.
> </cflock>
> 
> </cfoutput>
> 
> <cfcatch type="Lock">
> You all *are* enclosing your CFLOCKs in CFTRY/CATCH, aren't you?
> </cfcatch>
> </cftry>
> <cfsetting EnableSillinessOnly="No">
> 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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