RE: request.getSession(false) incorrectly creates a session

2005-11-15 Thread Andy
riginal Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 15 November 2005 11:56 To: Tomcat Users List Subject: Re: request.getSession(false) incorrectly creates a session If you are using jsp - you need <[EMAIL PROTECTED] session='false'%> in your page otherwise - a session

Re: request.getSession(false) incorrectly creates a session

2005-11-15 Thread Tim Funk
If you are using jsp - you need <[EMAIL PROTECTED] session='false'%> in your page otherwise - a session is created for your whether you use it or not. -Tim Andy wrote: Hi, When I deploy my web app and call request.getSession(false), according to the javadoc, if a session does not exist null i

Re: request.getSession(false) incorrectly creates a session

2005-11-14 Thread Darryl L. Miles
"The session is not explicitly created by anything in the JSP page", does this include scope="session" users in your JSP files ??? Len Popp wrote: I have observed that request.getSession(false) returns null when it's called from the top of my servlet in the first request from a client, b

Re: request.getSession(false) incorrectly creates a session

2005-11-14 Thread Len Popp
I have observed that request.getSession(false) returns null when it's called from the top of my servlet in the first request from a client, but when the servlet forwards the request to a JSP page (via RequestDispatcher.forward) the session gets created. The session is not explicitly created by anyt

request.getSession(false) incorrectly creates a session

2005-11-14 Thread Andy
Hi, When I deploy my web app and call request.getSession(false), according to the javadoc, if a session does not exist null is returned. However I'm getting an object returned when I have not created a session myself. The object is an instance of this class - org.apache.catalina.session.Standar