It sounds like you just need to schedule a template to run once every 5
minutes and that template updates the value of the application variable. Is
it more complicated than that?
Bob
-----Original Message-----
From: Ficke, Bill [mailto:[EMAIL PROTECTED]]
Sent: March 27, 2001 1:13 PM
To: Fusebox
Subject: OT: Setting individual timeouts for application variables
Does anyone have a methodology for setting specific timeouts for different
variables? I would like to set a timeout specifically for 1 application
variable without affecting the timeouts for app variables specified in
<CFAPPLICATION>.
What I'm really trying to accomplish is test the availability of our ASP's
server using CFHTTP. In my app, then I communicate to each user upon login
that their services are available or not. The code is very expensive if
executed for each user every time they login. So I would like to execute
the availability test periodically, thus setting an application-like
variable which each client request at login could read. The app variable
would need to automatically die/refresh after 5 minutes.
Hope this makes sense. I look forward to the experts input on my quandary.
Thanks,
Bill Ficke
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists