Gdy daję echo $_SESSION['zalogowany'] w ogóle nie wyświetla nic. Oczywiście mam session_start(); Wszystko ok działa pod FF ale pod IE nie.
<? ################################ ?> <form action="" method="POST"> Hasło: <input type="password" name="haslo" /> <input type="submit" name="loguj" value="Zaloguj" /><br /><br /> </form> <? } else { $powrot='<br /><a href="panel.php" style="text-decoration: none;" />Powrót</a>'; if($form==$haslo) { $_SESSION['zalogowany']=1; //header("Location: panel.php"); } else { } } else { } } } else { ?> </center> <div style="width: 250px; float: left; font-family: Calibri;"> <b>MENU</b><br /><br /> <a href="panel.php?id=2" style="text-decoration: none; color: black;">Dodaj news'a</a><br /> <a href="panel.php?id=3" style="text-decoration: none; color: black;">Edytuj news'a</a><br /> <a href="panel.php?id=4" style="text-decoration: none; color: black;">Usuń news'a</a><br /> </div> <div style="width: 700px; float: left; margin-top: 0px; font-family: Calibri;"> <? include('admin.php'); ?> </div> <? } ################################## ?>