thepales Posted August 19, 2011 Share Posted August 19, 2011 I have a simple php script that starts sessions. On every page, I include : if(isset($_SESSION['sessionname'])){ //The rest of the page } else { die("Not logged in"); } I always include the session start and always regenerate the session id after <?php. The code works fine withevery browser except for a certain version of Internet Explorer 8. Even though the browser does enable cookies, it doesn`t seem to allow the ones in my script. In fact, every time I change page, it ives the error message "Not logged in". I have tried it on two different compters with the exact same version of IE and the result was the same. Thank you for your time! Link to comment https://forums.phpfreaks.com/topic/245237-php-sessions-and-ie8/ Share on other sites More sharing options...
titan21 Posted August 20, 2011 Share Posted August 20, 2011 What do your logs say? Can you check error.log if running Apache? Link to comment https://forums.phpfreaks.com/topic/245237-php-sessions-and-ie8/#findComment-1259726 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.