It works because you were previously sending two Location: headers and the browser was ignoring the first one and using the second one. Having an exit() statement after your first header is indeed what you need to do. On Tuesday, January 21, 2003, at 01:00 PM, Tom Dell'Aringa wrote: > Anyway, I added die(); after my first header and now it works..why? > That seems very odd. -- Jim Puls <jim at nondifferentiable.com> http://www.nondifferentiable.com