The caviot to my question was that I wanted to force session rewritting for only one servlet. But I now see the flaw in this if another servlet in the same context sets a cookie (jsessionid) that cookie will now be set for the all other servlets as well. The solution is to use the cookies=false in the context file. And simply encode all URLs.
Michael Dehmlow wrote: > > Hello I'm looking for a way to force url session tracking regardless of > whether the user has cookies enabled. My thoughts right now are to create > a session filter that deletes the cookie on the way out the door. if this > seems like a good idea who should I go about deleting the the cookie. > -- View this message in context: http://www.nabble.com/Force-URL-encoding-tf4415223.html#a12596041 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]