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
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
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
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
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
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
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]
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
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
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
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
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
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
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
[>>] >>> - 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
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
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
í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
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
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:
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
21 matches
Mail list logo