Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 85858 invoked by uid 500); 19 Apr 2001 09:53:08 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 85827 invoked from network); 19 Apr 2001 09:53:04 -0000 Received: from natmail2.webmailer.de (HELO post.webmailer.de) (192.67.198.65) by h31.sny.collab.net with SMTP; 19 Apr 2001 09:53:04 -0000 Received: from rota (gate.informationsdesign.de [195.143.210.66]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id LAA18370; Thu, 19 Apr 2001 11:53:03 +0200 (MET DST) From: "Tassilo Pilati" To: , Subject: AW: Can Sessions be tracked via URL-rewriting? Date: Thu, 19 Apr 2001 11:49:50 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3ADEA358.BA59198@dorf.rwth-aachen.de> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N But it will not work if you are using Apache with Tomcat. It only works with Tomcat standalone or Apache and Tomcat and cookies turned on. However, if the client disables cookies... your site won`t work for him. -----Ursprungliche Nachricht----- Von: Wolle [mailto:wolle@dorf.RWTH-Aachen.DE] Gesendet: Donnerstag, 19. April 2001 10:36 An: tomcat-user@jakarta.apache.org Betreff: Re: Can Sessions be tracked via URL-rewriting? Hei, You have to do it in your Servlet/JSP with the Methode encodeURL or encodeRedirectURL. response.encodeURL("/test/URL") This have you to do with all your Links in the Servelt. Tomcat will automaticly choose the URI-Rewriting if the cookies are disabled. When the cookies are enabled, the encodeURL Methode won't change the URL. So you don't have to handle it if there cookies or not. Greetings Michael Robert Zazueta wrote: > Nope. Where would I need to do that? In all of my servlets, or in the > Tomcat code? > > -----Original Message----- > From: William Kaufman [mailto:WKaufman@viquity.com] > Sent: Wednesday, April 18, 2001 1:42 PM > To: 'tomcat-user@jakarta.apache.org' > Subject: RE: Can Sessions be tracked via URL-rewriting? > > Are you asking Tomcat to do URL re-writing (by calling > HttpServletResponse.encodeURL())? > > -- Bill K. > > > -----Original Message----- > > From: Robert Zazueta [mailto:Robert.Zazueta@Mightywords.com] > > Sent: Wednesday, April 18, 2001 1:35 PM > > To: tomcat-user@jakarta.apache.org > > Subject: Can Sessions be tracked via URL-rewriting? > > > > > > Fresh out of the "box", Tomcat appears to write the jsession ID to the > > users cookies exclusively, making those who don;t have > > cookies turned on > > for whatever reasons lose their session. > > > > Is there a way to configure Tomcat so that it writes the jsession via > > URL-rewriting for those folks without cookies turned on? Or even just > > replaces the jsession cookie with URL-rewriting entirely? > > > > Thanks! > > > > Rob Z. > >