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 -1 even for
> persistent cook
);
}
out.println("");
out.println(rb.getString("cookies.make-cookie") + "");
out.println("Name:");
out.println("Value:");
out.println("Max Age:");
out.println("");
out.println("");
out.println("
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.
B
I run development on Tomcat 6.0.29 and IE 8.
I need help to understand behavior of cookies. I created a new cookie and setup
maxAge to 60 seconds running script setMaxAge(60). I expected this cookie to be
persistent and to exist for 60 seconds. I ran this script to create the cookie
Cookie newC