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

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

2008-11-09 Thread Bon
Hi Christopher, Thank you for your answer, 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 ses

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

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

2008-11-06 Thread Bon
ust 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] >>

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 cook

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

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

2008-11-06 Thread Bon
Hi Christopher, I'm not sure what's difference of JSESSIONID cookies and javax.servlet.http.Cookie, I think they are the same thing right? or some other difference details what I don't know. when a client user click logout link from the main site web page, the logout link is mai

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 bro