I am new to ColdFusion and I am having trouble understanding what is the
Difference between onApplicationStart method and onRequestStart method other
than the Scope. For Example what does it mean by Application? First time a
user comes to your site? Does it only run once? I tried to set a
I am new to ColdFusion and I am having trouble understanding what is the
Difference between onApplicationStart method and onRequestStart method other
than the Scope. For Example what does it mean by Application? First time a
onapplicationstart() runs when the first cfm or cfc is executed in
OnApplicationStart runs the first time ANY user hits your site. It's
commonly used for setting application variables that rarely change. Things
like datasources are a good place for that or initializing a ton of
cfobjects. I commonly put a cfif statement in my onRequest event to reset
the
I am new to ColdFusion and I am having trouble understanding what is the
Difference between onApplicationStart method and onRequestStart method other
than the Scope. For Example what does it mean by Application? First time a
user comes to your site? Does it only run once? I tried to set a
http://VadexFX.com
http://Sherifabdou.com
- Original Message -
From: s. isaac dealey [EMAIL PROTECTED]
To: cf-talk cf-talk@houseoffusion.com
Sent: Sunday, September 28, 2008 8:42 PM
Subject: Re: onApplicationStart Vs onRequestStart
I am new to ColdFusion and I am having trouble
The whole point of putting variables into the application scope is to cache
them so you don't have to set them on every request.
The reason your variables didn't get set after you added new ones was that
your application had already started; OnApplicationStart doesn't run on
every request.
6 matches
Mail list logo