ColdBox Framework Forums Notification: Post to Overriding event in prehandler

Title: RE: Overriding event in prehandler
Thread: Overriding event in prehandler
Forum: Need Help?
Conference: ColdBox
User: lmajano Alex,
setNextEvent() actually relocates the browser to a new event. So it
basically CUTS execution and relocates, so it will do what you need also. So
your statement:

If I call setNextEvent() in the preHandler, the current

event will still run before going on to the next event, right?
The answer is
NO. The event won't run. it will redirect to whatever safe event you choose.
I also recommend trying out or beta testing the security interceptor you can
find in the 2.6 alpha in the SVN. You can actually secure any event in your
system via regular expressions or snippets. I use it on all my projects now.