lol ... thanks bill, I think it may have even been me that started that
thread. I was really just checking that the code was ok as I'm due to roll
out soon and I'm the first in our org to use cfc's this way. Didn't want to
embarress myself.
Can't wait till its over as I can start to learn mach-ii and MG ... very
excited. Does anyone have any view on which is easier to learn?
Pete (aka lad4bear)
----Original Message Follows----
From: Bill Rawlinson <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [CFCDev] Returning a Query from Application Scoped CFC
Date: Thu, 23 Jun 2005 20:04:25 -0400
I think, Peter, the general rule of thumb for safety is to var every
and all variable you can think of (and typically some you can't think
of too).
Im pretty sure there was a big thread on here a few months ago that
went through a bunch of the things that people get "caught" with (such
as query names) so that you might have a better idea of what to look
out for.
I'm not sure were the list's archives are at but if someone else
points you to it I image a quick search on thread safety would
probably net some valuable results.
Bill
On 6/23/05, Sean Corfield <[EMAIL PROTECTED]> wrote:
> On 6/23/05, Peter H <[EMAIL PROTECTED]> wrote:
> > Does this apply to results from a stored procs?. All my DAO's /
gateways use
> > stored procs and I've var declared the results variables as shown
below. Is
> > this safe?
>
> Yes, that is safe (and necessary).
> --
> Sean A Corfield -- http://corfield.org/
> Team Fusebox -- http://fusebox.org/
> Got Gmail? -- I have 50, yes 50, invites to give away!
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
>
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
>
> CFCDev is supported by New Atlanta, makers of BlueDragon
> http://www.newatlanta.com/products/bluedragon/index.cfm
>
> An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
>
>
>
--
[EMAIL PROTECTED]
http://blog.rawlinson.us
If you want Gmail - just ask.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]