Pablo Gosse wrote:
However, and this is even stranger to me, if I add the following after
the call to header()

die('foo');

the page redirects to the correct url.

I remove die('foo'); and it redirects to itself again.

That makes it sound like there is another call to header() somewhere that overwrites your Location header. Try using something like LiveHTTPHeaders to see exactly what your 302 response looks like. You can also grep through your source for header.

Hope that helps.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to