Refresh vs Location

From: Date: Mon, 07 Aug 2000 15:40:40 +0000
Subject: Refresh vs Location
Groups: php.general php.windows 
Request: Send a blank email to php-general+get-10481@lists.php.net to get a copy of this message
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!

« previous php.general (#10481) next »