cffunction not found
I've recently been translating some custom tags over to <cffunction>, as they execute noticibly faster. Works great 99% of time. But once in a while I'll get an error "Variable XYZ is undefined" where XYZ is the name of a function. I know that it is spelled correctly, and is called previously in the same page. If I refresh, the error goes away and everything's fine. If it were a coding error, it seems like the error would be persistent, and not go away. It may have something to do with sitting idle, as I've noticed this happen after leaving the computer and returning later. Anyone know how I can prevent this?