tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: Where to find session cookies
Date Wed, 27 Jun 2007 18:12:04 GMT
True, although I dont know how to make Tomcat do that, nor do I think it 
should be done, they must expire, or else with time his Tomcat will run out 
of memory.

----- Original Message ----- 
From: "Nelson, Tracy M." <Tracy.Nelson@nelnet.net>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, June 27, 2007 7:21 PM
Subject: RE: Where to find session cookies


| From: lightbulb432 [mailto:veerukrishnan@hotmail.com]
| Sent: Tuesday, 26 June, 2007 14:13
|
| How can I configure Tomcat to use permanent cookies as opposed to
session
| cookies? One of the reasons I'd like to know is to see the behavior of
| method isNew() of HttpSession, which I can do if I'm able to disable
| cookies. As the Javadoc for HttpSession says:
|
| "A servlet should be able to handle cases in which the client does not
| choose to join a session, such as when cookies are intentionally
turned
| off."

I think the only thing that differentiates between session and
persistent cookies is the presence of an expiration date.  No date ==
session cookie, future date == persistent cookie.

To check the behavior you're curious about, why not just disable cookies
in your browser?  ISTR that TC then just sets the session ID explicitly
in the query string of the URL.
-----------------------------------------
------------------------------------------------------------
The information contained in this message is confidential
proprietary property of Nelnet, Inc. and its affiliated
companies (Nelnet) and is intended for the recipient only.
Any reproduction, forwarding, or copying without the express
permission of Nelnet is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.
------------------------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message