permaculture playing cards
The moose likes Servlets and the fly likes Where is my cookie????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where is my cookie?????" Watch "Where is my cookie?????" New topic

Where is my cookie?????

Ronald Heukers
Ranch Hand

Joined: Jul 20, 2005
Posts: 69
Hi all,

Probably a beginners question this one, but I'm not sure about the answer even after reading the the mails about it in this forum.

When we are using HTTP-sessions is a servlet application, it is most of the time doen by using cookies, or by URL-rewriting.

When we use cookies, is this then a persistent cookie or a memory cookie in (this is wat I think) and what is its name and can I access it? In case it's a persistent cookie what client-directory is it placed when using Internet Explorer.


Ben Souther

Joined: Dec 11, 2004
Posts: 13410

The first choice for every server I know of is cookies.

They are in-memory cookies. (session cookies).
Because of this, you can't see them on the client machine.

You can, however, watch them being passed back and forth if you install the LiveHTTPHeaders for Firefox.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ronald Heukers
Ranch Hand

Joined: Jul 20, 2005
Posts: 69
Thanks a lot, Ben
I agree. Here's the link:
subject: Where is my cookie?????
jQuery in Action, 3rd edition