Re: a cookie question of one Server with two tomcat server

2008-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: I've monitored the value of cookies with debug mode at server running, and the cookie values were be set to the new values. I'm not sure what effect of setting the session as invalidate and setting new cookie values, I think set

Re: a cookie question of one Server with two tomcat server

2008-11-09 Thread Bon
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/a-cookie-question-of-one-Server-with-two-tomcat-server-tp20355052p20414674.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: a cookie question of one Server with two tomcat server

2008-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: the logout Servlet will do something as following: 1. set the cookies maxAge to 0 and add them into response again. cookie.setMaxAge(0); response.addCookie(cookie); 2. set the session to invalidate

Re: a cookie question of one Server with two tomcat server

2008-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: In my environment there are two tomcat server runing with different port in one server , and both two must set its own cookies into client Are you talking about JSESSIONID cookies, or some other ones? now, when I open a

Re: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
-question-of-one-Server-with-two-tomcat-server-tp20355052p20373498.html 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

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Caldarale, Charles R
From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm not sure what's difference of JSESSIONID cookies and javax.servlet.http.Cookie, JSESSIONID is the specific cookie called out by the servlet spec to be used for tracking sessions

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
Hi Caldarale I just set my own cookies's maxAge to 0, if I also set the JSESSIONID to 0 maybe could be solve my problem right? I'll try it. thank you for your answer. Bon Caldarale, Charles R wrote: From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
also set the JSESSIONID to 0 maybe could be solve my problem right? I'll try it. thank you for your answer. Bon Caldarale, Charles R wrote: From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm not sure what's difference

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
my own cookies's maxAge to 0, if I also set the JSESSIONID to 0 maybe could be solve my problem right? I'll try it. thank you for your answer. Bon Caldarale, Charles R wrote: From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm

a cookie question of one Server with two tomcat server

2008-11-05 Thread Bon
from both two sites (they will expire their own cookies) with same browser, but the cookies of on site did not be removed, does anyone know what is it going on? and how can I solve this problem? Bon -- View this message in context: http://www.nabble.com/a-cookie-question-of-one-Server