The workaround I found was to have my &carpout() function not only print a message, but also set a flag also available to my main script. Then before printing a CGI header in the main portion I just check to see if the error flag has been set, and if so, suppress printing an additional header.
I dislike using flags too often, but this is a case where that solution seems to work out ok.
Dave
In reply to Re: Why is the browser displaying a content header?
by davido
in thread Why is the browser displaying a content header?
by wfsp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |