Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 81255 invoked from network); 11 Jul 2000 13:42:35 -0000 Received: from mail5.svr.pol.co.uk (195.92.193.20) by locus.apache.org with SMTP; 11 Jul 2000 13:42:35 -0000 Received: from modem-48.antimony.dialup.pol.co.uk ([62.136.42.48] helo=totalise.co.uk) by mail5.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 13C0Iz-0003UF-00 for tomcat-user@jakarta.apache.org; Tue, 11 Jul 2000 14:42:34 +0100 Sender: robin Message-ID: <396B26CB.4BB901CA@totalise.co.uk> Date: Tue, 11 Jul 2000 14:53:15 +0100 From: robin Reply-To: robin@sublime.org X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Session tracking by URL rewriting Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, This is probably a boring question which comes up time and again, but the jakarta faq-o-matic is down so I can't tell :-(. I'm having trouble using URL rewriting for session tracking within Tomcat 3.1. When I call HttpServletResponse.encodeURL() on my URL's, they come back unchanged. I'm definitely calling HttpSession httpSession = req.getSession( true ); before I do encodeURL. I'm testing using Netscape with Cookies turned off. Currently for debugging purposes, I'm doing String encoded = res.encodeURL( url ); System.out.println("URL Encoding before "+url+" after "+encoded ); And the two strings are identical. Can anyone suggest what I might be doing wrong? Thanks. Regards, -Robin Barooah