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=23936>. 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=23936 DefaultServlet loses session ID when sending redirect Summary: DefaultServlet loses session ID when sending redirect Product: Tomcat 4 Version: 4.1.27 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When cookies can not be used (for whatever reason) session tracking is done by using suffix ";jsessionid=..." appended to URLs. However, when DefaultServlet sends redirect response for default welcome file (like from "<...>/somedir/" to "<...>/somedir/index.jsp") the "jsessionid" suffix is lost. Suggested resolution: in DefaultServlet.java all (2) occurences of response.sendRedirect(redirectPath); should be replaced with: response.sendRedirect(response.encodeRedirectURL(redirectPath)); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]