Think the servlet APIs like response.addCookie() etc ... might be helpful here. 
You can send couple of cookies in your response header, the browser will store 
these cookies permanently in harddisk.

-Venkatesh


----- Original Message ----
From: lightbulb432 <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Wednesday, June 27, 2007 12:42:36 AM
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]






       
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

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