kts Posted August 27, 2009 Share Posted August 27, 2009 Ok so this issue is this... I have banners set to change due to session variable. In firefox I load up with a ref id and then close browser, re-open and goto home page. The banner stays the same as it should. In IE I goto home page doing the same process and it shows default, but then when clicking on any link, it instantly recognizes the session for all other pages. Is there a way to solve this? is it just a setting for IE? Link to comment https://forums.phpfreaks.com/topic/172145-session-not-being-recognized-on-first-load-with-ie/ Share on other sites More sharing options...
TeNDoLLA Posted August 27, 2009 Share Posted August 27, 2009 Sessions should vanish when you close your browser unless you save them somewhere. So I don't think the session is the reason why it works with FF. Maybe some browser cache keeps the banner in there. Try var_dumping the session variables you are using and see if they exists / dosn't exist when they should. Link to comment https://forums.phpfreaks.com/topic/172145-session-not-being-recognized-on-first-load-with-ie/#findComment-907686 Share on other sites More sharing options...
kts Posted August 27, 2009 Author Share Posted August 27, 2009 My mistake, I believe it is the cookie that is the issue. I have a cookie life of 30mins and its working on first load with firefox, but not IE Link to comment https://forums.phpfreaks.com/topic/172145-session-not-being-recognized-on-first-load-with-ie/#findComment-907725 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.