Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Tomcat - Automatically writes a session?

Neal

2004-01-20

Replies:

I used the tag "<%@(protected),
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
site.


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

Thanks.
N


-----Original Message-----
From: Antonio Fiol Bonnín [mailto:fiol.bonnin@(protected)]
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:

<@(protected)" @>

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
that
>I must tweak?
>
>PS - I use Tomcat has my http server, not apache (in case that's
>meaningful).
>
>Thanks.
>Neal
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.