DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32832>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32832 Summary: request.getSession(false) fails to return null. Product: Tomcat 5 Version: 5.5.6 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] 1.Servlet 'a' includes servlet 'b' from a different context. 2.Servlets 'b' and 'c' belong to the same context. 3.Servlet 'b' includes servlet 'c'. 4.Servlet 'c' creates a session via request.getSession(). 5.Servlet 'c' invalidates the session and returns to servlet 'b'. 6.Servlet 'b' performs request.getSession(false). I expect that Servlet 'b' gets 'null' returned by getSession(false), but instead a session object is returned. Note: If only one web-application is involved (only servlets b and c in same context), then getSession works as expected. If two web-applications are involved like described in the scenario, then getSession fails to return null. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]