The command SET HTTP HEADER will only have an effect the first time it is called in a Web process. Subsequent calls to this command are ignored. If you plan to call this command several times in a process, you should create a pair of text arrays to hold the values that you wish to set. Add to these arrays as your process runs. At the "end" of the process, call SET HTTP HEADER using the arrays that hold the header values you wish to set.