Hello... 
As I understood (maybe I understood wrongly) with every GET and POST request
Tomcat "generates" cookie which it do not write on hard drive (so it cannot
be seen in browser cookie manager). It is some kind of in-memory (session)
cookie which is "active" only while browser's page is opened.
Does this in-memory (session) cookie exists? 
What exactly is bothering me? In one servlet I need to generate THIS cookie
(in-memory cookie which nobody can't find on hard drive) and than other
servlet will try to find that in-memory cookie and if this cookie exists and
caries one value (true) to redirect to one page and if it does not exits
only to inform user. So if this cookie exists can I edit it's value?
What I found by google and little experiments, JSESSIONID cookie. Is this
what I am looking for, JSESSIONID cookie? And I found also that you can set
session attribute with request.getSession().setAttribute(), get value with
getAttribute() . Is this what I am looking for? Is there any relationship
with all this? What are JSESSIONID, session, are those cookies?
-- 
View this message in context: 
http://www.nabble.com/Tomcat-in-memory-%28session%29-cookie-tp22060645p22060645.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to