garry27 Posted November 24, 2006 Share Posted November 24, 2006 i have a problem where if i instantiate a sesssion variables in one browser, the same variable seemingly caches itself in any new browser window which opens. i end up having to close down all browser windows to unset them. any ideas on how i can fix this? Link to comment https://forums.phpfreaks.com/topic/28303-problem-with-sessions-caching/ Share on other sites More sharing options...
btherl Posted November 24, 2006 Share Posted November 24, 2006 That's normal behaviour for a web browser.. Link to comment https://forums.phpfreaks.com/topic/28303-problem-with-sessions-caching/#findComment-129444 Share on other sites More sharing options...
garry27 Posted November 24, 2006 Author Share Posted November 24, 2006 oh, right. i thought that was only the case with cookies. Link to comment https://forums.phpfreaks.com/topic/28303-problem-with-sessions-caching/#findComment-129448 Share on other sites More sharing options...
btherl Posted November 24, 2006 Share Posted November 24, 2006 Usually sessions are implemented with cookies :) So the same behaviour will occur.You can change sessions so they work by passing variables.. that's significantly less secure, but will allow you to have different sessions in each window. The details are here: http://sg.php.net/manual/en/ref.session.php Link to comment https://forums.phpfreaks.com/topic/28303-problem-with-sessions-caching/#findComment-129451 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.