Jump to content

PHP sessions and IE8


thepales

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.