macromedia.coldfusion.getting_started
[Top] [All Lists]

Re: Variable is undefined

Subject: Re: Variable is undefined
From: GArlington <garlington@xxxxxxxxxxxxx>
Date: Thu, 24 Jul 2008 08:15:57 -0700 (PDT)
Newsgroups: macromedia.coldfusion.getting_started

On Jul 24, 2:01 pm, Davo <dfrosd...@xxxxxxxxx> wrote:
> Hi,
>
> I'mworking with Joe's script:http://amazons3.riaforge.org/
>
> I've set the script so the the keys are put into a DB first.
>
> When I pull up the page after I'm getting  Variable ACCESSKEYID is
> undefined.
>
> Does the variable need to be defined in the CFC also?
You should create cfc as a separate standalone (independent) object
with set of functions. I.e. ALWAYS create and pass vars to cfc
functions as arguments, NEVER rely on ANY vars being defined in ANY
scope outside cfc itself...
>
<snap>


<Prev in Thread] Current Thread [Next in Thread>