Re: Header Location not working
| From: | Ernest E Vogelsinger | Date: | Tue, 19 Nov 2002 22:52:47 +0000 |
| Subject: | Re: Header Location not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125155@lists.php.net to get a copy of this message | ||
At 23:36 19.11.2002, Baumann Reto said:
--------------------[snip]--------------------
>Hi all
>
>Does somebody know if there is a potential problem with
> Header("Location: ....");
>not working properly?
>
>I have a redirection, but it seems that on some browser, this doesn't work.
>Instead of the redirection, the same page is requested again!
>
>I'm also using sessions and html-post request to get to this page (probably
>they are messing things up).
>On most browser, the setup is working very well...
--------------------[snip]--------------------
Are you on IIS? I remember that there are problems with header('Location:
url'), as far as I can remember I once resorted to explicitly transmit
header("HTTP/1.0 302 Moved\nLocation: newurl");
which would result in 2 adjacent headers... but I don't remember exactly,
it's already some time ago
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/