Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 8834 invoked by uid 500); 16 Jul 2001 18:25:07 -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 8827 invoked from network); 16 Jul 2001 18:25:06 -0000 Received: from unknown (HELO cybershop.ca) (207.236.177.2) by h31.sny.collab.net with SMTP; 16 Jul 2001 18:25:06 -0000 Received: from cybershop.ca [207.236.177.12] by cybershop.ca [207.236.177.2] with SMTP (MDaemon.v2.8.5.0.R) for ; Mon, 16 Jul 2001 14:09:34 -0400 Message-ID: <3B53306E.C34E6AE4@cybershop.ca> Date: Mon, 16 Jul 2001 14:20:30 -0400 From: Bo Xu X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: URL vs. cookies References: <7EDA5140F315D311B3E8006094B90AEAF58ED6@mail.interstarinc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MDaemon-Deliver-To: tomcat-user@jakarta.apache.org X-Return-Path: bo@cybershop.ca X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Georges Boutros wrote: > hi, > > i'd like to know where can i set tomcat to send the JSESSIONID on the URL > instead of using the cookies? > > thanks > > Georges Hi :-) good email for you //haha :-) ***************************************************** n Sun, 20 May 2001, Robert Nicholson wrote: > > Question... how I force it to rewrite the URL to support url rewriting even > if the browser supports cookies? > In 3.2, look in "conf/server.xml" for the string noCookies="false" and change it to noCookies="true" IIRC, this change is global to all webapps in this JVM. In 4.0, the element includes a "cookies" attribute that you can use to turn cookies on or off on a per-webapp basis. It defaults to "true", so turn them off like this: Craig McClanahan ***************************************************** Bo July 16, 2001