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 20830 invoked from network); 19 May 2000 20:18:40 -0000 Received: from unknown (HELO amn01s2.amikanow.com) (205.150.199.142) by locus.apache.org with SMTP; 19 May 2000 20:18:40 -0000 Received: by AMN01S2.amikanow.com with Internet Mail Service (5.5.2448.0) id ; Fri, 19 May 2000 16:18:12 -0400 Message-ID: From: Ken Grigg To: "'tomcat-user@jakarta.apache.org'" Subject: RE: session tracking * encodeURL Date: Fri, 19 May 2000 16:18:05 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I was led to understand that encodeURL() and encodeRedirectURL() works only via port 8080. /Ken. -----Original Message----- From: Alexandros Kotsiras [mailto:kotsiras@mediaondemand.com] Sent: Friday, May 19, 2000 4:00 PM To: tomcat-user@jakarta.apache.org Subject: RE: session tracking * encodeURL Well what can i say...in my Tomcat on both Solaris and Winnt URLRewriting does not work and the same problem was reported from many other users. That's why i suggested manual URLRewriting .... -----Original Message----- From: James Cook [mailto:jimcook@iname.com] Sent: Friday, May 19, 2000 2:18 PM To: tomcat-user@jakarta.apache.org Subject: Re: session tracking * encodeURL I'm not seeing the behavior that you describe. Not in Tomcat and not in the spec. 1. encodeURL *does* append the session information. 2. request.getSession(true) will *not* create a new session if one already exists. jim ----- Original Message ----- From: Alexandros Kotsiras To: Sent: Friday, May 19, 2000 12:24 PM Subject: RE: session tracking * encodeURL > Yes i agree ...but this is exactly the problem/bug with Tomcat : > > the encodeURL() / encodeRedirectURL() methods DO NOT automatically append > then sessionID to the request URL. > In Servlet_2 request.getSession(true) will create a new session instead of > retrieving the one that Servlet_1 was using. > That's why you have to append it manually and then use the > HttpSessionContext ...if you require session tracking with cookies disabled. > > Anyway.... > > -----Original Message----- > From: James Cook [mailto:jimcook@iname.com] > Sent: Friday, May 19, 2000 11:06 AM > To: tomcat-user@jakarta.apache.org > Subject: Re: session tracking * encodeURL > > > ----- Original Message ----- > From: James Cook > > String url = request.encodeURL("/servlet/servlet_2"); > > sorry, that should be: > > String url = response.encodeURL("/servlet/servlet_2"); > > > -------------------------------------------------------------------------- > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org > For additional commmands, email: tomcat-user-help@jakarta.apache.org > > > -------------------------------------------------------------------------- > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org > For additional commmands, email: tomcat-user-help@jakarta.apache.org > -------------------------------------------------------------------------- To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org For additional commmands, email: tomcat-user-help@jakarta.apache.org -------------------------------------------------------------------------- To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org For additional commmands, email: tomcat-user-help@jakarta.apache.org