早教吧 育儿知识 作业答案 考试题库 百科 知识分享

IE下SESSIONID一直在变,而在Firefox上不变

题目详情
IE 下SESSION ID 一直在变,而在Firefox上不变
▼优质解答
答案和解析
原始材料: 一、in Firefox, when the browser is closed, both the session and the cookie are destroyed, so that when the user returns, everything happens again as I originally expected. In Internet Explorer, however, when the browser is closed, only the cookie is destroyed. When the user returns before the session would normally time out, they get an error, because the security object still exists and expects the cookie to exist too. 二、IE (unfortunately) does a very good job at handling session cookies where: Any window launched from a browser window (window.open(), file>new>window, ctrl-N, ctrl-T open link in new window...) should share the same session cookie. Any new Browser window launched from the Operating System level icon or menu should have it's own session cookie. 三、From this thread, and my own experiences, it seems like Firefox was not designed very well with regard to handling sessions. I have a server running several database applications, all of which require a log in. This means that with Firefox, I cannot simultaneously log in and use more than one of these applications at a time, unless I go through the trouble to set up this environment variable, and manually create additional profiles. And this would not be possible to do at all if I am using one of our laboratory computers where I don't have the administrative authority to create this environment variable. It is amazing to me that Firefox was not designed like (the usually more troublesome) Internet Explorer, where each window opened 查看原帖>>