RE: Tomcat - Automatically writes a session?

2004-01-21 Thread Shapira, Yoav
Howdy, >Well, the cookie is written but RAM memory must be allocated for these >users as well, right? If you have a timeout set to 30 minutes, you've got >a lot of little pieces of RAM being held by these users at any given time. >Seems waistful to me, regardless how small they are. It just see

RE: Tomcat - Automatically writes a session?

2004-01-21 Thread Sanjeev Kumar
Login to the tomcat server administration (http://:8080/admin). In the left frame go to Tomcat Server -> Service -> Host. Below the Host click on the context which is applicable to your web application. In the right frame you can see the Context properties. Set the values for Cookies to 'false'. C

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread Tim Funk
I'm old school. I still use telnet. For example, from any unix (or cygwin) prompt: [EMAIL PROTECTED]: telnet www.travelusa.com 80 Trying 64.58.141.168... Connected to travelusa.com. Escape character is '^]'. GET / HTTP/1.1 Host: www.travelusa.com Connection: close HTTP/1.1 200 OK Set-Cookie: JSES

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread neal cabage
and accept/deny each cookie sent to you, as they are sent to you, including jsessionid 'session' cookies. > -Original Message- > From: neal cabage [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 20, 2004 5:00 PM > To: Tomcat Users List > Subject: Re: Tomcat - Auto

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread neal cabage
lter classes you may have written. > -Original Message- > From: neal cabage [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 20, 2004 3:48 PM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: Re: Tomcat - Automatically writes a session? > > > Unfortunately

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Mike Curwen
e [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 20, 2004 5:00 PM > To: Tomcat Users List > Subject: Re: Tomcat - Automatically writes a session? > > > Which tool are you guys using to view your http response > header? I'm using the following: > > http://w

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Mike Curwen
neal cabage [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 20, 2004 3:48 PM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: Re: Tomcat - Automatically writes a session? > > > Unfortunately this isn't working either. In addition to the > <[EMAIL PROTECTED]

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread neal cabage
Which tool are you guys using to view your http response header? I'm using the following: http://www.searchengineworld.com/cgi-bin/servercheck.cgi Do you see the cookie being set using this tool? What sort of filters should I be looking for that could be setting a cookie? btw - my config

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread Jeff Tulley
Yeah, I see the same thing. No jsessionId in the header. with <%@ page session="false" %> >>> [EMAIL PROTECTED] 1/20/04 3:31:31 PM >>> Its on by default because the spec says so. Are you sure you don't have a filter or anything else creating a session? I created a page called cowbell with this

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread Tim Funk
Its on by default because the spec says so. Are you sure you don't have a filter or anything else creating a session? I created a page called cowbell with this content with tomcat 4.1: -- <[EMAIL PROTECTED] session="false"%> foo

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread neal cabage
Unfortunately this isn't working either. In addition to the <[EMAIL PROTECTED] session="false"%> directive in my JSP, I have also set the cookies="false" attribute in my server.xml file, for the host in question. It is *still* happening! Perhaps this is a Tomcat bug, as previously suggested

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread Torsten Fohrer
tomcat sents automatically a cookie named jsessionid for session maintain to a browser. with cookies="false" as a context attrribute you disable this behaviour from tomcat documentation: -- cookies Set to true if you want cookies to be used for session identifier communication if supp

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread Jeff Tulley
Verify in your JSP's .java file that sessions are really being turned off. Look to see if there is a session=pageContext.getSession() Also, I think the call to pageContext = _jspxFactory.getPageContext(. Needs to have "false" as the 3rd to last argument. >>> [EMAIL PROTECTED] 1/20/04 12:3

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread Antonio Fiol Bonnín
Neal wrote: I used the tag "<[EMAIL PROTECTED] 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 o

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Sanjeev Kumar
[>>] >>> - Maintaining a session per user is not a big deal, as these are [>>] >>> - tiny [>>] >>> - objects by default. They only get big if you put big attributes [>>] >>> - in [>>] >>> - them. Make sure sessiontimeout is not -1 >Someone just pointed out that my JSPs are have this in the h

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Shapira, Yoav
get big if you put big attributes in them. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Neal [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 20, 2004 1:53 AM >To: 'Tomcat Users List' >Subject: Tomcat - Automatically writes a session? &g

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Neal
MAIL 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: <@page session="false" @> Google

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Neal
ín [mailto:[EMAIL 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: <@page session="false" @> G

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Neal
1: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. Anton

Re: Tomcat - Automatically writes a session?

2004-01-20 Thread Antonio Fiol Bonnín
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:

Tomcat - Automatically writes a session?

2004-01-19 Thread Neal
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 set