Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 9107 invoked from network); 29 Jul 2003 20:06:30 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Jul 2003 20:06:30 -0000 Received: (qmail 15949 invoked by uid 97); 29 Jul 2003 20:09:09 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 15942 invoked from network); 29 Jul 2003 20:09:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Jul 2003 20:09:08 -0000 Received: (qmail 7722 invoked by uid 500); 29 Jul 2003 20:06:11 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 7709 invoked from network); 29 Jul 2003 20:06:10 -0000 Received: from pluto.trimm.nl (HELO apache.trimm.nl) (194.165.70.2) by daedalus.apache.org with SMTP; 29 Jul 2003 20:06:10 -0000 Received: from pc-hanswichman.trimm.nl ([213.201.163.185]) by apache.trimm.nl (8.11.3-patched-ISS-X-Force/8.11.3) with ESMTP id h6TK6E036649 for ; Tue, 29 Jul 2003 22:06:14 +0200 (CEST) Message-Id: <5.1.0.14.2.20030729220548.02bf4120@192.168.0.62> X-Sender: hans#mail.trimm.nl@192.168.0.62 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 29 Jul 2003 22:06:14 +0200 To: "Tomcat Users List" From: Hans Wichman Subject: RE: sessionids through url rewriting In-Reply-To: <002401c35607$b2d725b0$7202a8c0@stbedm.silvacom.com> References: <5.1.0.14.2.20030729194400.01bb1a60@192.168.0.62> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I was afraid you were going to say that ;-(. Guess I will built in a cookiecheck then... At 01:29 PM 7/29/2003 -0600, you wrote: >Since you are passing your session id through URL, the url string must contain >the jsessionid parameter, i.e., you have to encode it. > > >-----Original Message----- >From: Hans Wichman [mailto:hans@trimm.nl] >Sent: July 29, 2003 11:51 AM >To: tomcat-user@jakarta.apache.org >Subject: sessionids through url rewriting > > >Hi, >I've read in the servlets specs that tomcat must support session management >through url rewriting, but nothing happens when I disable the cookies >(testing in netscape 7, since ie 6 sp1 can't disable the cookies). > >I have one servlet, let's call it /myServlet, which implements a command >like pattern wrapping a result generating application, for example I call >the servlet with >1) >localhost:8080/myServlet?command0=load&argument0=&command1=init&argument=1&queue >length=2 > >The servlet parses the command and arguments into command objects and >passes them onto an instance of an application which is stored in each >users session (each user has his own instance of the application), the >application processes the request using templates blablahblah and the >servlet gets all the generated content using getResult() dumping it into >the output stream of the servlet. > >Where in this process should the automatic url rewriting occur? I haven't >got a clue.... >Does my own request (see 1) overwrite any jsessionid that should >automatically be added ? Is url rewriting only supported directly from >hyperlinks in a jsp page? > >Hope anyone can help, I'm using apache tomcat/4.1.24 (and not 4.1.23 ;-)) > >Hans > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org