I hadn't thought of doing a redirect by changing the location header before, I normally just use the square bracket method, but I have been tripped up regularly by the old problem of spitting out some debugging code that had a colon and was interpreted as a header.
A related not to this (that I'm sure you know Jake) is that if you set *any* header this way, you need to supply the complete content of the page, Domino will *not* put in the html and body tags that it would do otherwise.
Another good tip to remember is that you can set the charset in the Content-Type header, but be careful, domino can be *very* picky about recognising it. use:
I hadn't thought of doing a redirect by changing the location header before, I normally just use the square bracket method, but I have been tripped up regularly by the old problem of spitting out some debugging code that had a colon and was interpreted as a header.
A related not to this (that I'm sure you know Jake) is that if you set *any* header this way, you need to supply the complete content of the page, Domino will *not* put in the html and body tags that it would do otherwise.
Another good tip to remember is that you can set the charset in the Content-Type header, but be careful, domino can be *very* picky about recognising it. use:
Content-type: text/xml; charset=UTF-8