tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neal" <nealcab...@yahoo.com>
Subject RE: Tomcat - Automatically writes a session?
Date Tue, 20 Jan 2004 09:29:03 GMT
Unreal!!!!  I've done everything I can think of and I'm still seeing a
JSession cookie in the header of my pages:

I've tried:
1. server.xml file -> host/@cookies=false
2. <%@page session="false"%> as the first line of the JSP.
3. Restarted application numerous times.
4. Absolutely no code to write a cookie or a session ANYWHERE in the
entire applcation.

Any ideas??!

Here's the Header being returned:
Server Response: http://www.travelusa.com/hotels.jsp?2 
Status: HTTP/1.1 200 OK  
Set-Cookie: JSESSIONID=FC6ECEFBABA482AE6707EC400E229FB1; Path=/  
Content-Type: text/html;charset=ISO-8859-1  
Transfer-Encoding: chunked  
Date: Tue, 20 Jan 2004 10:44:21 GMT  
Server: Apache Coyote/1.0  
 
 
Thanks.
N


-----Original Message-----
From: Neal [mailto:nealcabage@yahoo.com] 
Sent: Monday, January 19, 2004 11:53 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat - Automatically writes a session?

You're kidding?  So, by default, I'm writing a freaking session for
every single page?  That sounds like a colossal waist of resources.
Thanks though for the tip!

Neal


-----Original Message-----
From: Antonio Fiol BonnĂ­n [mailto:fiol.bonnin@terra.es] 
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
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@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message