You know now that I think about it you don't want fb working on requests to
CFCaptchaEngine.cfm so you probably ought not call super.OnRequestStart() if
that template is called, and should also remove onRequestEnd().
if ( arguments.targetPage is "CFCaptchaEngine.cfm" ) {
structDelete(this,"onRequest");
structDelete(variables,"onRequest");
structDelete(this,"onRequestEnd");
structDelete(variables,"onRequestEnd");
}
else
{
super.onRequstStart();
}
Adam
On Mon, Mar 2, 2009 at 1:59 AM, <[email protected]> wrote:
> I just tried implementing that little snippet. Unfortunately, I also
> use BD's onMissingTemplate handler as well which does a little relocate
> should a page not exist (CMS application).. so i moved it down there and
> still not really working right.. I'm thinking I have to change the
> structdelete's.. can you confirm or deny that?
>
>
> ------ Original Message ------
> From: Adam Haskell
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---