Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.14
-
None
Description
In org.apache.tapestry.internal.services.CookiesImpl, the functions
public void writeCookieValue(String name, String value, String path)
public void writeDomainCookieValue(String name, String value, String domain)
public void writeCookieValue(String name, String value, String path, String domain)
all need the line
cookie.setMaxAge(_defaultMaxAge);
...otherwise, they just set transient cookies, which doesn't appear to be the intended behavior, and is certainly not consistant behavior.