tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ned Jackson Lovely (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-1796) Not all writeCookieValue functions honor the tapestry.default-cookie-max-age symbol
Date Mon, 01 Oct 2007 21:08:50 GMT
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message