Hi Folks -
I am feeling dumb and either I am missing something simple or it's way
above me.
In my application.cfc, I was going to have a cfinclude that would pull
in my DB Name, user name, and password.
I would store those variables in application scope in onApplicationStart().
Hi Folks -
I am feeling dumb and either I am missing something simple or it's way above me.
In my application.cfc, I was going to have a cfinclude that would pull in my DB
Name, user name, and password.
But when I execute the index.cfm page, and dump my session variables, those
pieces of
Doug,
can u show us the code in the include so we can see how you are
storing/referencing the username/password.
Russ
On Thu, Jan 27, 2011 at 10:49 PM, Doug Ford doug.e.f...@gmail.com wrote:
Hi Folks -
I am feeling dumb and either I am missing something simple or it's way
above me.
In
Hey Doug,
1. How many lines of code are in the include? I'm just wondering because it
might be easiest to simply move your code into the Application.CFC
2. How are you setting these vars in the include? Can you give us a sample
of that code?
3. Once you moved the code around and into the
can't you just do cfset onApplicationStart() / to get the method to fire?
Do you really need to rename the app scope?
On Thu, Jan 27, 2011 at 6:03 PM, Alan Rother alan.rot...@gmail.com wrote:
Hey Doug,
1. How many lines of code are in the include? I'm just wondering because it
might be
On 1/27/2011 3:12 PM, Michael Grant wrote:
can't you just docfset onApplicationStart() / to get the method to fire?
Do you really need to rename the app scope?
Yes, you can /fire/ the method that way. But that is OFTEN not exactly
the same as triggering the onApplicaitonStart *event*.
Ah, I didn't know that.
On Thu, Jan 27, 2011 at 6:27 PM, Ian Skinner h...@ilsweb.com wrote:
On 1/27/2011 3:12 PM, Michael Grant wrote:
can't you just docfset onApplicationStart() / to get the method to
fire?
Do you really need to rename the app scope?
Yes, you can /fire/ the method
Yeah, I was trying to get to the idea that he needed to somehow clear the
app scope and force it to re-init those vars. I should have been clearer
about that.
=]
On Thu, Jan 27, 2011 at 4:12 PM, Michael Grant mgr...@modus.bz wrote:
can't you just do cfset onApplicationStart() / to get the
can't you just docfset onApplicationStart() / to get the method to fire?
Do you really need to rename the app scope?
Yes, you can /fire/ the method that way. But that is OFTEN not exactly
the same as triggering the onApplicaitonStart *event*. Sometimes one
just really wants to
9 matches
Mail list logo