|
Thanks for sharing that, John. I’m getting stuck somewhere else.
First, let me see if I can replicate this; it happened a few days ago. I spent
about 1.5 hours on it and then gave up and moved to XML. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John
C. Bland II I started using INI's a few months back and wrote a lil'
script to parse the entire INI. It even allows for hiding sections. The base idea is to loop over all sections and add them to a
struct. I call this from onAppStart and store my settings in the app scope.
This is why I setup the 'private' key so it wouldn't automatically add my DSN
value to the app scope (not good for shared environments). Hopefully this helps a bit... On 10/17/06, Dave Shuck <[EMAIL PROTECTED]> wrote: Hal, On 10/17/06, Hal Helms <[EMAIL PROTECTED]> wrote: Here's something that confuses
me about Application.cfc. I recently decided to put a bunch of initial stuff in
an .ini file. But when I tried to read that (using GetProfileString) from
within OnApplicationStart(), it ignored it completely. I tried everything I
could think of, moved the code into onRequest, changed the ini layout so that
it was bad (it never threw an error). Finally, I gave up and used an XML file,
which worked fine. But was this something I did wrong or is there some odd bug
in the processing of Application.cfc? Hal From: [EMAIL PROTECTED]
[mailto:
[EMAIL PROTECTED]] On Behalf Of Phillip Senn Ray Camden is going to do another
presentation on Application.cfc Wednesday at 5 CST. http://ray.camdenfamily.com/index.cfm/2006/9/27/ColdFusion-Jedi-User-Group-Meeting-Tonight
--
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- [CFCDEV] Ray Camden talks about CFC Phillip Senn
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- RE: [CFCDEV] Ray Camden talks about CFC Dave Watts
- Re: [CFCDEV] Ray Camden talks about CFC Dave Shuck
- Re: [CFCDEV] Ray Camden talks about CFC John C. Bland II
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- Re: [CFCDEV] Ray Camden talks about CFC Peter J. Farrell
- Re: [CFCDEV] Ray Camden talks about CFC John C. Bland II
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- Re: [CFCDEV] Ray Camden talks about CFC John C. Bland II
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- Re: [CFCDEV] Ray Camden talks about CFC John C. Bland II
- RE: [CFCDEV] Ray Camden talks about CFC Hal Helms
- Re: [CFCDEV] Ray Camden talks about CFC John C. Bland II
