Skip to main content
Participant
May 12, 2006
Question

cferror inside hidden pages

  • May 12, 2006
  • 1 reply
  • 392 views
I am using <CFERROR> to catch errors inside my application. It works great and everything except that when there is an error inside a hidden processing page, the error page will not get invoked.

Has anyone encountered this same problem?
Can someone provide some solutions?
This topic has been closed for replies.

1 reply

Legend
May 12, 2006
A hidden processing page? Like a hidden iFrame or CFAjax? Try using CFTRY in the hidden page. If it detects an error have the CFCATCH send an appropriate variable to the visible page where you can then invoke your CFERROR.
joejo318Author
Participant
May 12, 2006
Cool! it worked. thanks
joejo318Author
Participant
June 21, 2006
So you mean add the <CFTRY><CFCATCH> in every hidden iframe so that the CFERROR will be invoked?

Also how can I show that CFERROR Page to the parent page so it will be visable to the user?