I have a simple php script that starts sessions. On every page, I include :
if(isset($_SESSION)){
//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!