prehandler exception does not get picked up

Hi all,

I have been trying to use the prehandler exception feature but it does not seem to work.

My handler code looks like this

this.prehandler_exception = "keepalive";

public void function preHandler (required Event)
         if( not getPlugin("sessionStorage").exists("webuser") )

     public void function keepalive(required Event)
         var rc = Event.getCollection();

Any ideas ?

I believe the syntax should be like this.

this.PREHANDLER_EXCEPT = "keepalive";

Hope that helps,
Curt Gratz
Computer Know How

The documentation here says it should be "prehandler_exception" but I will try with "prehandler_except" and report how it goes.



Typo on the docs, updated it and we should start on updating ALL docs for 3.0 in a few weeks.

Luis F. Majano
Ortus Solutions, Corp

ColdBox Platform:
Linked In:
IECFUG Manager:

Great, that works! Thanks.