You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ned Jackson Lovely (JIRA)" <de...@tapestry.apache.org> on 2008/08/11 00:05:44 UTC
[jira] Updated: (TAPESTRY-1796) Not all writeCookieValue functions
honor the tapestry.default-cookie-max-age symbol
[ https://issues.apache.org/jira/browse/TAPESTRY-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ned Jackson Lovely updated TAPESTRY-1796:
-----------------------------------------
Priority: Major (was: Minor)
> 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
>
> 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