| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: the Javascript Question?>, Dan Bracuk |
|---|---|
| Next by Date: | Re: unique id when form is submitted, rockhiker |
| Previous by Thread: | Variable is undefined, Davo |
| Next by Thread: | the Javascript Question?>, nightwolf666 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |