tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Young <>
Subject HttpSession.isNew() Bug?
Date Wed, 01 Mar 2000 16:41:26 GMT
It seems isNew() always return true in Tomcat 3.1.
I have tested the function using both JSP and servlet.
Here is a JSP file:
	<TITLE>JSP session page</TITLE>
	HttpSession ses=request.getSession(true);
	if(ses.isNew()) {
<%	}

The file always outputs the session's ID when it is
in Tomcat. However, if the application server is IBM
WebSphere(2.03 on Linux, and 3.02 on Solaris), it
ouputs the ID only at the first time.

Why does the function always return true? Is it a bug?

Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.

View raw message