You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Peter Johnson <pe...@lutris.com> on 2000/05/02 02:35:10 UTC

Set-Cookie Max-Age field and bug 246.

Costin,
  Tomcat uses a method in CookieTools.java to build the header value of a
cookie.

    public static String getCookieHeaderValue(Cookie cookie)

In that method I noticed that the "Max-Age" field is written as "MaxAge". Is
that correct? Also is that the reason for bug 246? Where version 1 ("Max-Age")
cookies are converted to version 0 ("Expires") cookies.

Peter.