You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lu...@alcatel.pt on 2006/08/01 16:30:06 UTC

How to disable cookies for session management in Tomcat

Hi there.
Is there any way to tell Tomcat to never use cookies for session 
management?

Regards,
Luís Amorim

Re: How to disable cookies for session management in Tomcat

Posted by Alessandro Colantoni <al...@gmail.com>.
Hi
You have to put in your context cookies="false"

For more have a look at
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

hope this help
On 8/1/06, Luis.Amorim@alcatel.pt <Lu...@alcatel.pt> wrote:
> Hi there.
> Is there any way to tell Tomcat to never use cookies for session
> management?
>
> Regards,
> Luís Amorim
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to disable cookies for session management in Tomcat

Posted by Lu...@alcatel.pt.
Thank you for your reply, Chris.
I've set the cookies attribute to false in the server.xml file, restarted 
tomcat and now the cookie session management is disabled.

Regards,
Luís Amorim






Christopher Schultz <ch...@christopherschultz.net>
01-08-2006 17:34
Please respond to "Tomcat Users List"
 
        To:     Tomcat Users List <us...@tomcat.apache.org>
        cc: 
        Subject:        Re: How to disable cookies for session management 
in Tomcat


Luis,

> Is there any way to tell Tomcat to never use cookies for session 
> management?

RTFM: http://tomcat.apache.org/tomcat-4.1-doc/config/context.html

Look for the 'cookies' attribute.

-chris




Re: How to disable cookies for session management in Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Luis,

> Is there any way to tell Tomcat to never use cookies for session 
> management?

RTFM: http://tomcat.apache.org/tomcat-4.1-doc/config/context.html

Look for the 'cookies' attribute.

-chris