I like to put in the onRequestStart function, a cfif on a url variable that
to me designates to run the onApplicationStart function.  This would allow
you to rerun the onApplicationStart without have the application actually
restart.

Crude example:
<cffunction name="onRequestStart" access="private">
....
        <cfif isdefined('url.restartapp') and url.restartapp eq 1>
        <cfset onApplicationStart()>
    </cfif>
....
</cffunction>

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
 
Web Developer 
http://William.Seiter.com

-----Original Message-----
From: Walter Conti [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 28, 2008 8:05 PM
To: CF-Newbie
Subject: Re: Adding a cffunction to a cfc

Thank you William.
My bad. Forgot that scope application is not killed at browser close. The
object did not change until I close the server.

This is a development environment. Is there a way of stopping and starting
CF8 instead of rebooting the computer alltogether? 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-Newbie/message.cfm/messageid:3289
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to