All Collections
ColdFusion
Restart a ColdFusion Application
Restart a ColdFusion Application

Restart your ColdFusion application without a server restart.

Updated over a week ago

This works for Lucee and ColdFusion.

This guide will explain how to restart a ColdFusion application without restarting the application server itself.

If you ever need to restart your site’s ColdFusion application (to pick up a setting change, etc), you can do so via the ApplicationStop() function.

I recommend creating a restart.cfm script containing the following code:

<cfset ApplicationStop() />
<cflocation url="index.cfm" addtoken="false" />

When you run the restart script, your ColdFusion application will be stopped (flushing your application scope), and when the browser is redirected to the index page the application will start again.

Did this answer your question?