RE: Refresh vs Location
| From: | Nold, Mark | Date: | Tue, 08 Aug 2000 05:29:53 +0000 |
| Subject: | RE: Refresh vs Location | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-10590@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Just another thought, i remember having similiar problems and it was either
solved by using the full url, an absolute url or a releative one... This wa
under an earlier version of IIS and i cant remember what the solution was so
try
http://myhost.com/foo/bar/myscript.php
or
/foo/bar/myscript.php
or
myscript.php
-----Original Message-----
From: Richard Heyes [mailto:php@heyes-computing.net]
Sent: Monday, August 07, 2000 11:41 PM
To: PHP Windows
Cc: PHP General
Subject: Refresh vs Location
I've been having a little trouble getting a script to perform a setcookie()
function and then redirect onto a different page using header('Location:
...') under Win2k-AS/IIS5. It seems however that issuing a refresh header
instead of the location (Refresh: 0; url=...) works quite happily.
Is there any reason not to use the refresh header over location (I can't
seem to find it in the http1.1 spec either...) both on this platform and
potentially others too (ie. apache/unix)?
--
Richard Heyes
http://www.heyes-computing.net/scripts/
Plain text email only please!