Reiniting An Application

There will be times you make changes to your ColdBox.cfc configuration file, or anything that might be cached, and will need to issue a reinit to the framework so those changes can take effect. You can do so in two ways:

  1. CommandBox
  2. URL Action

Reinit via CommandBox

Just simply type

coldbox reinit

You can also pass an optional password to it if you have used the coldbox.reinitPassword directive:

coldbox reinit password=test

URL action

You will use the fwreinit URL action which can have any value or, if you have setup a password, the password.

// no password
index.cfm?fwreinit=1

// password
index.cfm?fwreinit=mypassword

results matching ""

    No results matching ""