session question for tomcat 4.0.1 and 4.0.2

2002-02-13 Thread Zhiyong Li
I posted the following message a while ago and have not got any response. So, I tried it on tomcat 4.0.2 release. However, I got the same result. I would appreciate your help. 2. I am trying to use isNew() method on session to detect whether a session is newly created or not. For example,

Re: session question for tomcat 4.0.1 and 4.0.2

2002-02-13 Thread Charlie Toohey
First, of all, the assumption is that you have not turned off session support using the JSP page directive, i.e. you do NOT have %@ page session=false The default is true, so as long as you do not have this, you are fine. Now, session.isNew() would continually return false if the following

RE: session question for tomcat 4.0.1 and 4.0.2

2002-02-13 Thread Arif Pathan
say). Arif. -Original Message- From: Charlie Toohey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 1:23 PM To: Tomcat Users List; Zhiyong Li Subject: Re: session question for tomcat 4.0.1 and 4.0.2 First, of all, the assumption is that you have not turned off session