Mike Amburn [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I would like to store some variables in the Server scope so that they're
available to all applications on the server. Is there an automated way
to load a specific page when CF restarts?
-mike
What
, passing the future in the present]
[connecting people, places and things]
-Original Message-
From: tom muck [EMAIL PROTECTED]
Date: Fri, 24 Aug 2001 11:34:36 -0400
Subject: Re: load page when CF restarts
Mike Amburn [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">new
To: CF-Talk
Subject: Re: load page when CF restarts
Theoretically that should work... however, what if the app server
hasn't started when that runs :)
best thing would to embed the logic in the application.cfm file
throughout your site(s)
or the 1 time per minute scheduled approach would
Lundis [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001 9:52 AM
To: CF-Talk
Subject: Re: load page when CF restarts
Theoretically that should work... however, what if the app server
hasn't started when that runs :)
best thing would to embed the logic in the application.cfm file
throughout
I've begged for this feature for the last 2 or 3 releases of CF. Basically,
the only way to make sure something is in memory before the page is called
is to place it in the application.cfm (all application.cfms). I usually set
a 'SetServer.cfm' file with the following code:
CFLOCK..
CFIF
We have some server variables that we need setup as well at startup...
We accomodate by have a server based schedule task run once per minute
to check the variables and reinitialize them if need be because of
reboot or data change...
Thats how we do it.. in the mix of rebooting a server, the
]]
Sent: Tuesday, August 21, 2001 9:00 AM
To: CF-Talk
Subject: Re: load page when CF restarts
I've begged for this feature for the last 2 or 3 releases of
CF. Basically,
the only way to make sure something is in memory before the
page is called
is to place it in the application.cfm (all
ARE the net.
http://www.aaawebhosting.com
-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 9:00 AM
To: CF-Talk
Subject: Re: load page when CF restarts
I've begged for this feature for the last 2 or 3 releases of
CF
: Tuesday, August 21, 2001 9:30 AM
To: CF-Talk
Subject: RE: load page when CF restarts
Would that make sure the page ran before anything else? Is a
scheduled
event run as the server starts up or after its already
running. A test
would be to set a scheduled event to set one variable
cf_ot_remark
Of course.. Who am I kidding... When does pretty close count?? ;)
Last I heard, close only counts in horseshoes, hand grenades and
thermonuclear war...
/cf_ot_remark
Just as a thought, CF5 does incorporate a site-wide error handler, which
might also be used to act as a catch-all
10 matches
Mail list logo