Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age

2010-11-16 Thread Igor Barkon
I run Tomcat 6.0.29 on Windows XP and IE 8.0.6001.18702. I noticed that getMaxAge() method of any cookie always returns -1 evenĀ for persistent cookie with real positive value of maximum age. IE treats this cookie correctly: cookie persists for amount of seconds specified by setMaxAge method.

Re: Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age

2010-11-16 Thread Pid
On 16/11/2010 16:58, Igor Barkon wrote: I run Tomcat 6.0.29 on Windows XP and IE 8.0.6001.18702. I noticed that getMaxAge() method of any cookie always returns -1 even for persistent cookie with real positive value of maximum age. IE treats this cookie correctly: cookie persists for

Re: Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age

2010-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor, On 11/16/2010 11:58 AM, Igor Barkon wrote: I run Tomcat 6.0.29 on Windows XP and IE 8.0.6001.18702. I noticed that getMaxAge() method of any cookie always returns -1 even for persistent cookie with real positive value of maximum age. IE

Re: Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age

2010-11-16 Thread Igor Barkon
, November 16, 2010 1:50:23 PM Subject: Re: Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age On 16/11/2010 16:58, Igor Barkon wrote: I run Tomcat 6.0.29 on Windows XP and IE 8.0.6001.18702. I noticed that getMaxAge() method of any cookie always returns -1

Re: Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age

2010-11-16 Thread Igor Barkon
Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor, On 11/16/2010 11:58 AM, Igor Barkon wrote: I run Tomcat 6.0.29 on Windows XP and IE 8.0.6001.18702. I noticed that getMaxAge() method of any cookie always returns

Re: Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age

2010-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor, On 11/16/2010 3:40 PM, Igor Barkon wrote: I created cookie as a parameter on IE and sent it to Tomcat. On server the parameter was transformed to a cookie and sent back to IE. Next time when IE sent new request to the server, the old