It is up the servlet.  As far as I know Tomcat cannot change this.

As to how you get the servlet to use one or the other: I do not know enough 
about WEB programming to tell you.

-----Original Message-----
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 12:13 PM
To: users@tomcat.apache.org
Subject: RE: Where to find session cookies



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."



Fargusson.Alan wrote:
> 
> Session cookies are not stored on disk.  This is why they are more secure
> then cookies (non-session).  Since they only exist in RAM (ok, maybe in
> swap files) nobody else using that machine can find them, and they go away
> when the browser ends.
> 
> -----Original Message-----
> From: lightbulb432 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 29, 2007 12:15 PM
> To: users@tomcat.apache.org
> Subject: Where to find session cookies
> 
> 
> 
> When testing my application that uses sessions, I don't seem to see a
> cookie
> with domain localhost in my browser's cookies folder. Does Tomcat use some
> internal folder to put its cookies, or am I just doing something else
> wrong?
> 
> I do have cookies enabled, so it's not writing the session id to the URL,
> either.
> 
> Thanks.
> -- 
> View this message in context:
> http://www.nabble.com/Where-to-find-session-cookies-tf3835973.html#a10860700
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Where-to-find-session-cookies-tf3835973.html#a11311838
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


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

Reply via email to