As an additional thing, please realize that "AJAX" has very little impact. You can replicate the HTTP requests that Javascript does from within your browser, and in the end it does not matter where an HTTP request originates.
Consider reproducing the first and second HTTP request to the CGI script externally. For example, you can see the requests your browser makes in the developoer console and copy them as curl commands. Then you can look at the difference between the working and failing request. This should give you a good hint as to where the problem lies.
In reply to Re: CGI Header Breaks on Second AJAX Call
by Corion
in thread CGI Header Breaks on Second AJAX Call
by brandon8696
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |