anorakgirl
Programmer
Hi,
I have an hourly task (cfschedule) which gets some data via an cfhttp to another website. It then puts this data in an application variable. The problem is that the application variable isn't remembered. For example, in my task I currently have:
If I run the task manually, using
then in the debug output, I can see that the application variable has been set correctly.
But if I then click to another page in my site, it has gone. Has anyone had this problem? Does this mean that cfscheduled task doesm't run in the same application or something??
Thanks for any tips. Tamsin
~ ~
I have an hourly task (cfschedule) which gets some data via an cfhttp to another website. It then puts this data in an application variable. The problem is that the application variable isn't remembered. For example, in my task I currently have:
Code:
<cfset application.exchangeDate = "test">
Code:
<cfschedule action="RUN" TASK="#mytask#">
But if I then click to another page in my site, it has gone. Has anyone had this problem? Does this mean that cfscheduled task doesm't run in the same application or something??
Thanks for any tips. Tamsin
~ ~