I am having rouble with session suport under Win98 with either Netscape 4.7 or IE 5, using Apache, and PHP4. I have not tried doing this under Linux, but assume the same problem exists there too.
I can create a login screen, and start/end the session normally, but if I use the File/New/Window option under IE or Netscape, it seems that the session cookie still remains, and so creating a new session in the new browser window overwrites the session data in the original browser window.
I have checked via using session_id(), that the session ids remain the same for each browser window. This implies that the session cookie is copied to the newly opened window. (Correct me if I'm wrong.)
The only way I have found to circumvent this problem is to open a new instance of the browser by loading it again. Then two sessions can coexist in seperate browser windows at the same time, and have different session IDs. But this is not good enough for the end user, as they may not be aware that they have to load a new instance of their browser for every session they want opened.
How can I resolve this problem?
Many thanks for your time.
Regards, Karl.