To restart you application place the following line of code in your Application.cfc within the OnRequestStart function.
<cfscript> if(isdefined("url.restart")){ OnApplicationStart(); //OnSessionStart(); } </cfscript>
Now anytime you pass the URL string “restart” your application will restart. Obviously you can use whatever method you chose, but this will point you in the right direction.
Advertisements