Sweet.. thanks
-----Original Message-----
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 03, 2008 3:00 PM
To: CF-Talk
Subject: Re: onApplicationStart
>What is another way besides creating a temp file to explicitly reset
>those variables?
>Is there a way to make the Application expire and restart (sort of
>speak)?
Here's what I use:
<cffunction name="onRequestStart" returntype="void" output="false">
<cfif structKeyExists(url,"reinitApp")>
<cflock scope="application" type="exclusive" timeout="5"
throwontimeout="true">
<cfset onApplicationStart()>
</cflock>
</cfif>
</cffunction>
Then add ?reinitApp=1 in any url to restart the app
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295787
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4