Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
anorakgirl #1
Reloading Application Variables
Hi,
I have some application level variables.
They are currently being reloaded automatically when they expire, by some code
in my application.cfm file.
However, i would rather reload them every night at a certain time (some of
them take a while to load so I'd rather do it when the site is quieter, and I'd
like to get the fresh data ready to use on the next day).
I have used cfschedule to set up a nightly task to reload them fine, but what
I don't understand is the automatic expiry thing. Say my app was started at
lunchtime, and I have the application timeout set to two days. And a nightly
task runs at midnight. Will the application variables always stay loaded, or
could they expire two days after the lunchtime it was started. I.e. is the
lifetime from application start, or from when I set a value for them?
Thanks!
anorakgirl Guest
-
Problem with Application variables using Application.cfc
Hi guys, I'm using CFMX7 and with that the Application.cfc. I've defined the app variables using <cfset This.varname = "something"> I would like... -
application variables in a CFC
I have some application variables declared in my Application.cfm file, and I want to be able to use them in my CFC. However, I've noticed that if... -
DB Field name="application" and Application scope variables
Hi, There is DB Field application which overwrited ,as I see , Application scope variable Are there way to solve this problem without using... -
ASP Application Variables
I am using IIS 6.0 and am trying to use application variables to track uasge. They work fine as long as there is an active client but about 20... -
Global variables - application variables vs include file
What are the best methods for using global constants and variables? I've noticed that many people put all global constants in a file and include...



Reply With Quote

