RE: Refresh vs Location
| From: | Nold, Mark | Date: | Tue, 08 Aug 2000 05:27:51 +0000 |
| Subject: | RE: Refresh vs Location | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-10589@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.
----------------------------------------------------------------------------
-----------------
Isnt Refresh: 0 infcat a META tag? (Thus it becomes browser dependant)
mn
-----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!