tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29905] New: - the session id is always change
Date Sun, 04 Jul 2004 00:15:03 GMT
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=29905>.
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=29905

the session id is always change

           Summary: the session id is always change
           Product: Tomcat 5
           Version: 5.0.25
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: oscar_iong@yahoo.com


if I use the character "~" in the server.xml 
<Context path="/~test" docBase="D:\\test" debug="0" reloadable="true" 
crosscontext="true" ></Context>
<Context path="/test" docBase="D:\\test" debug="0" reloadable="true" 
crosscontext="true" ></Context>
and in the test folder ,has two jsp file.

session.jsp
<a href="response.jsp">Click</a>
<%=session.getId()%>

response.jsp
<%response.sendRedirect(response.encodeRedirectURL("session.jsp"));%>

http://localhost/~test/session.jsp
http://localhost/test/session.jsp

the former one session id can't get the same one!
I think this is the bug,so let you know it

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message