Hi, i also have a similar problem...
I use the following example code in the login.php:
before html tag:
<?php
session_start();
session_register("login_status");
session_register("login_utilizador");
if($login_status == 1){
echo "<script>location.href='logado.php'</script>";
}
$login_status = 0;
?>
then in the middle of the code:
if ($utilizador->verificarUtilizador($login, $password)==true) {
$login_status = 1;
$login_utilizador = "$login";
echo "<script>location.href='logado.php'</script>";
} else {
echo "<script>location.href='errologin.php'</script>";
}
If i don't turn on to accept all the cookies in the IE 6, the Login doesn't work, appearing the Privacy Police icon on the right side of the Status Bar, at the bottom, saying "cookies blocked".
But the only thing i am using is this code above... :/
Any ideas? Than you... this code page is in http://www.rubensalgueiro.com/login.php