tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Xu ...@cybershop.ca>
Subject Re: URL vs. cookies
Date Mon, 16 Jul 2001 18:20:30 GMT
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 <Context> 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:

        <Context path="/examples" ... cookies="false" ...>

Craig McClanahan
*****************************************************


Bo
July 16, 2001




Mime
View raw message