You can have a cfif looking for a url variable such as reset. Inside the CFIF you can recall the onapplicationstart method <cfif structkeyexists(url, 'reset')> <cfset onapplicationstart()> </cfif>
Personally, I'd go for a separate reset page. Why have a CFIF if it will rarely, if ever used. On Jan 3, 2008 3:01 PM, Adkins, Randy <[EMAIL PROTECTED]> wrote: > Question: > When using the onApplicationStart within an Application.cfc, lets say I > wanted to restart the Application to pickup some changes. > Now I know you can cycle the CF Services but I do not have that access > to the server. > > 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)? > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:295786 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

