You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/02/13 01:41:31 UTC

DO NOT REPLY [Bug 6411] New: - HttpSession.isNew() always returns false

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6411>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6411

HttpSession.isNew() always returns false

           Summary: HttpSession.isNew() always returns false
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: arifhpathan@yahoo.com


When using Apache Web Server with Tomcat 4.0.2, the HttpSession.isNew() method 
returns false the first time (and everytime after that) a request is received 
by the doPost() method in a servlet. It does not matter whether I get a 
sesssion reference using the HttpServletRequest.getSession() method or 
HttpServletRequest.getSession(true) method.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>