This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Where is my cookie????? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Where is my cookie?????" Watch "Where is my cookie?????" New topic
Author

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.

regards,

Ronald
Ben Souther
Sheriff

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.
http://livehttpheaders.mozdev.org/


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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Where is my cookie?????
 
Similar Threads
Session Tracking using HttpSession
JSESSIONID
question about cookie bSet ??
Deleting non-persistent Cookie
need help for tracking