Global postHandler?

Does ColdBox have a global postHandler?

I have code that I would like to execute after every event, regardless
of what handler it's in. Do I have to add the code to every handler
cfc file?

No WAY!! ejej. There are interceptors for that. You can intercept at postEvent() meaning after ANY event or postProcess() after ANY event and renderings are done.

Luis F. Majano
Ortus Solutions, Corp

ColdBox Platform:
Linked In:
IECFUG Manager:

Interceptors are really powerful and probably what you want to use (especially as Luis says so!), but there is an onRequestEnd implicit event which you set up in the coldbox.xml config (look for )

  • John