After I set a cookie and then send a redirect header, the cookie doesn't
show up, but the browser successfully redirects.
setcookie(test, blahblah, time() + 1440);
header(Location: http://www.mywebsite.com/login.php;);
However, if I take out the header() statement, then the cookie is
Unless I am mistaken, the typical behavior for most browsers is exactly
as you described. Which is due to the browser receiving a Location
header and acting on it, disregarding any other headers. (ex:
cache/no-cache, cookies, etc)
Anybody care to prove me wrong?
While not the best route, you
On Tue, 14 Jan 2003 22:34:49 -0700, you wrote:
Unless I am mistaken, the typical behavior for most browsers is exactly
as you described. Which is due to the browser receiving a Location
header and acting on it, disregarding any other headers. (ex:
cache/no-cache, cookies, etc)
Anybody care
Accidentally replied to sender instead of list
--
Wow. You hit the nail on the head. :)
I installed PHP on IIS via the executable, so I gather I have one of two
choices:
-- Research your article and see how to work around the problem
OR
-- Use ISAPI. (how
On Wed, 15 Jan 2003 01:36:26 -0500, you wrote:
Wow. You hit the nail on the head. :)
Well, I spent a good day or two hunting the problem down the first
time I ran across it. Spending that much time on something tends to
make it stick in your head. :)
I installed PHP on IIS via the
5 matches
Mail list logo