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? Quote Link to comment 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.. Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.