in reply to Why is the browser displaying a content header?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why is the browser displaying a content header?
by wfsp (Abbot) on Jul 05, 2004 at 15:55 UTC |