Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79272 invoked from network); 23 Aug 2010 19:01:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 19:01:00 -0000 Received: (qmail 58787 invoked by uid 500); 23 Aug 2010 19:00:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 58688 invoked by uid 500); 23 Aug 2010 19:00:56 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 58679 invoked by uid 99); 23 Aug 2010 19:00:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 19:00:56 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of scott.hamilton@plateau.com designates 64.18.3.24 as permitted sender) Received: from [64.18.3.24] (HELO exprod8og112.obsmtp.com) (64.18.3.24) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Aug 2010 19:00:48 +0000 Received: from source ([72.165.82.6]) by exprod8ob112.postini.com ([64.18.7.12]) with SMTP ID DSNKTHLFTB8I9NGMi0EHMzTnGp5k0QnBaPq9@postini.com; Mon, 23 Aug 2010 12:00:28 PDT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Is there a better way to disable JSESSIONID in the URLs? Date: Mon, 23 Aug 2010 14:59:29 -0400 Message-ID: <7019457A01B07443BFCF2B3CEDA1111102BE69A6@email.plateau.internal> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Is there a better way to disable JSESSIONID in the URLs? Thread-Index: ActC8a5YUb8YRAv/Sx69Umla7+L9KgAA45pQ References: <7019457A01B07443BFCF2B3CEDA1111102B16EA0@email.plateau.internal><4C6CA2BB.5020204@christopherschultz.net><4C6D555C.8080905@christopherschultz.net><4C6E7615.5020802@pidster.com><4C6EAEB7.2060407@christopherschultz.net><4C6EBF94.2070504@pidster.com><4C6FA684.3050109@pidster.com><4C714870.3050407@apache.org> From: "Scott Hamilton" To: "Tomcat Users List" Awesome dude (that you submitted the patch so quick - I've not looked at it in detail yet). Thanks! -----Original Message----- From: Wesley Acheson [mailto:wesley.acheson@gmail.com]=20 Sent: Monday, August 23, 2010 2:33 PM To: Tomcat Users List Subject: Re: Is there a better way to disable JSESSIONID in the URLs? https://issues.apache.org/bugzilla/show_bug.cgi?id=3D49811 On Sun, Aug 22, 2010 at 5:55 PM, Mark Thomas wrote: > On 22/08/2010 16:29, Wesley Acheson wrote: >> Sorry for bring this off list. I'll put it back on list if you think that >> appropriate. >> >> You think that the context is the correct place to put this? I thought maybe >> web.xml but I don't know if you can extend that or if its rigidly covered by >> the spec. > > web.xml is defined by the spec. You can't touch it. > >> I started to do this on the connector is that incorrect? > > The configuration needs to be per context. Look at the sessionCookieName > attribute as an example. > > For the place to actually diable it, look in the > o.a.c.connector.Response.isEncodeable() method. If you look in the TC7 > code, you'll see how the Servlet 3.0 stuff was implemented. > >> How would one submit a patch? Sorry I've never done this for any project. Do >> I just attach the changed source files to bugzilla? or do I need to do a >> diff and create a patch file. > > Patch please, in diff -u format. Bugzilla is the right place. > >> I'm on windows so I've never used patch and I >> am unsure how to create one. (unix patch file) > > I use TortoiseSVN and Eclipse on Windows. Both these tools generate > suitable patch files. > > Mark > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org =2E The information contained in this e-mail message is intended only for the= personal = and confidential use of the recipient(s) named above. This message is pri= vileged = and confidential. If the reader of this message is not the intended recip= ient or an agent responsible for delivering it to the intended recipient, you are he= reby notified = that you have received this document in error and that any review, dissem= ination, = distribution, or copying of this message is strictly prohibited. =0D --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org