tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neal" <>
Subject RE: Tomcat - Automatically writes a session?
Date Tue, 20 Jan 2004 08:40:17 GMT
I used the tag "<%@page session="false"%>" which does appear correct,
but I'm still seeing that header:

"Set-Cookie: JSESSIONID=97C8777F16379B8EC2CD17273CE35C3C; Path=/"

There are two reasons why I want to get rid of this:

1. I assume I'm waiting server resources holding open a session for
every user, unnecessarily.

2. I've been told this may prevent Google from properly spidering the

Can you please shed any more light on how to fix this potential issue?


-----Original Message-----
From: Antonio Fiol BonnĂ­n [] 
Sent: Monday, January 19, 2004 11:46 PM
To: Tomcat Users List
Subject: Re: Tomcat - Automatically writes a session?

You have to specify it on the JSP pages. I can't remember it properly, 
but it must be something like:

<@page session="false" @>

Google for it on the Tomcat site. I think you will find it.

Antonio Fiol

Neal wrote:

>Someone just pointed out that my JSPs are have this in the header:
>"Set-Cookie: JSESSIONID=97C8777F16379B8EC2CD17273CE35C3C; Path=/"
>The problem is that I'm not setting any sessions or cookies from the
>page so I have no idea what's going on.  Is there some reason this is
>there?  Is there some setting in the Web.xml and/or server.xml file
>I must tweak?
>PS - I use Tomcat has my http server, not apache (in case that's
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message