Tuesday, April 8, 2003 06:56 AM
For more info, look up HttpSession in any book or online reference, on J2EE, and/or Servlets/JSP's.
The cookies used by Tomcat, to maintain client references to its HttpSessions, are non-persistent, meaning they are just kept in memory by the client browser, and are never written out to a file on the client. When all instances of that particular browser process are closed (e.g. with Microsoft IE, unlike most other browsers, you can either open multiple windows from the same process, sharing the set of non-persistent cookies, or you can open new windows in entirely new processes, each with their own set of non-persistent cookies), poof the cookie is gone.