Thanks again brotherhood and I'm still having trouble with it. I don't know where the original header information can be coming from. I kept removing lines of code until the only thing left was the redirection code and the error is still there. If I'm thinking right, the code I have below should be an automatic redirect in all cases. I'm mystified. Below is the entire complete test page (all eleven lines of it) and I still get the error. I'm mystified.