Couldn't you just sched a page to load every 5 mins or so, and have it
do that?


Lee Fuller
Chief Technical Officer
PrimeDNA Corporation / AAA Web Hosting Corporation
"We 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. 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 Not IsDefined('Server.UDFLib')>
>          Set server vars
> </CFIF>
> </CFLOCK>
> And then include it in all my application.cfms. If there was 
> another way 
> I'd love it. Maybe a site wide error handler that looks for a 'server 
> variable not defined' error message, loads the server 
> variables and then 
> reloads the page that was just called.
> 
> At 11:53 AM 8/21/01, you wrote:
> >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
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to