I set in my context.xml cookies=false and send a request with a cookie jsessionid and urlEncode don't encode my links! the testcode looks like URL url = new URL ("http://myServer/foo/foo"); HttpURLConnection conn = (HttpURLConnection)url.openConnection(); conn.setUseCaches(false); conn.setRequestProperty("Cookie","JSESSIONID=foo"); regards Dietmar
If a cookie is submitted, Tomcat will use it. Please don't reopen the report.
Sorry Remy for the reopen, but I think this is not well defined! What happend, when the cookie contain an old or an invalid sessionid? When I send a request with a cookie like: Set-Cookie: JSESSIONID=1234567890 then urlRewrite don't rewrite, because we work with cookies. An other valid session cookie can't set because in context cookies = false ??? regards Dietmar
Dietmar, please use the tomcat-user and tomcat-dev mailing lists to solicit clarification, rather than reopening Bugzilla issues. Thank you.