Not all writeCookieValue functions honor the tapestry.default-cookie-max-age 
symbol
-----------------------------------------------------------------------------------

                 Key: TAPESTRY-1796
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1796
             Project: Tapestry
          Issue Type: Bug
          Components: Core Components
    Affects Versions: 5.0.6
            Reporter: Ned Jackson Lovely
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to