Hello Jo,
The setLocale() function sends a HTTP header response to the requesting browser. If this is in a normal request thread, it's likely the request is closed before the setLocale() is called. For example, I could open my browser, call a CFM page (which does some slow processing) and then close my browser (i.e. close the connection to the CF server) before CF generates the response. CF could still carry on processing and then come to a setLocale() command. This then throws an error because the client connection is closed. Of course on a website you don't typically have any control over the client and although this should be a rare occurence, there's not much that you can do about it.
However, from the look of your message, it may be that there's another explanation. Is the line of code (F:\CfGlobal\util\sendConfirmation.cfc line 57) being executed from within a cfthread? If so, there's no client browser so I'm wondering if this is something different you're seeing.
Can you provide some further details please?
Best regards,
David Stockton
Fusion Team