Re: PHP header command crashes IE6x/PC

From: Date: Fri, 12 Dec 2003 15:47:16 +0000
Subject: Re: PHP header command crashes IE6x/PC
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172577@lists.php.net to get a copy of this message
John, Have tried this but unfortunately had no effect. Everything appears to fine if the session variable does not exist ie: the user is redirected to the log in page. It's just when the user has logged in and the session is set that IE throws it's toys out of the pram. Cheers, Matt On Friday, December 12, 2003, at 03:15 PM, CPT John W. Holmes wrote:
From: "Matt MacLeod" <matt@bigbarn.co.uk>
if (!ISSET($_SESSION['loggedin'])) { header("Location: /admin/login/");
put exit(); after your header redirect and use a full URL for your location. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#172577) next »