File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Session Management in Netscape Browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session Management in Netscape Browser" Watch "Session Management in Netscape Browser" New topic
Author

Session Management in Netscape Browser

Ruchik Bhatt
Greenhorn

Joined: Jul 30, 2002
Posts: 13
Hi,

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 ?

Thank you in advance


SCJP
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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.


42
Ruchik Bhatt
Greenhorn

Joined: Jul 30, 2002
Posts: 13
Hi,

Thanx for the suggestion.
Netscape is set to accept all the cookies and I do require netscape support.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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).
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60741
    
  65

Netscape is set to accept all the cookies and I do require netscape support.


But Netscape 4.7? Are you also required to support Internet Explorer 2? You do realize that Netscape 8 is imminent?

NN 4.7 is seriously seriously outdated and whoever is imposing this requirement on you needs a serious reality check.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: Session Management in Netscape Browser
 
Similar Threads
Netscape gets duplicate session from Tomcat
how to embed audio file in webpage?
same session ID in Netscape but not in IE
Duplicate Session-Ids being generated!
Urgent!!! Problems using Session in Netscape