The goal of this article is to provide steps on how to restart your Coldfusion application without needing to restart the Coldfusion server service
Restarting Coldfusion application
In situations where you find yourself requiring a restart for your ColdFusion application, such as to implement a new setting or configuration change, there is a convenient method available using the ApplicationStop() function.
To do this, you would just need to create a file called “Restart.cfm” and in that file you would add the following code snippet:
<cfset ApplicationStop() />
<cflocation url="index.cfm" addtoken="false" />
When you run the restart script, it stops your ColdFusion application and clears the application scope. After that, the browser will be redirected to the index page, and your application will start running again.
If you have any questions or encounter issues, please don’t hesitate to reach out to [email protected].