PHP header command crashes IE6x/PC
| From: | Matt MacLeod | Date: | Fri, 12 Dec 2003 15:02:36 +0000 |
| Subject: | PHP header command crashes IE6x/PC | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172574@lists.php.net to get a copy of this message | ||
Hi,
I have written a login system in PHP which appears to work OK except on a particular windows network. Basically the user can log in, but after viewing a few pages IE crashes.
I can view the same site on my PowerBook using Safari with no problems.
The offending code is as follows:
<?php
session_start();
if (!ISSET($_SESSION['loggedin'])) {
header("Location: /admin/login/");
}
else
{
//rest of the page.....
}
?>
Any ideas why this would cause IE to crash
Cheers,
Matt