This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a web application (JSP, Servlets) running on Tomcat 4.2, Linux 9, jdk 1.4. When I browse the application using IE 5.5/6.0 the session is properly carried throughout the application but when I browse using Netscape 4.7 the session variables are not carried. Any suggestion / comments to solve the problem ?
Is your Notscape configured to reject cookies maybe? If so the session information (which is carried in a cookie) is lost between requests.
A question: is there a hard requirement to support Notscape? If not, drop it. From some research I did last year when working for an e-commerce site we discovered that the percentage of Notscape 4 users was well under 1% and dropping. That includes ALL minor versions, which are not even compatible with each other so you need to write code for all of them.
Joined: Jul 30, 2002
Thanx for the suggestion. Netscape is set to accept all the cookies and I do require netscape support.
Joined: Oct 12, 2000
Are you maybe trying to access the same session through different windows generated with the New Window menuoption (Ctrl-N)? This works as expected in IE where all windows in the same process share a session, in Notscape it doesn't work and all windows will get different sessions (this is a known problem with Notscape).