tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Doran (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Commented: (TAPESTRY-571) CookieSourceImpl.writeCookieValue sets non-persistent (session) cookies
Date Fri, 16 Sep 2005 18:59:54 GMT
    [ http://issues.apache.org/jira/browse/TAPESTRY-571?page=comments#action_12329570 ] 

Eli Doran commented on TAPESTRY-571:

Have a look at this issue: http://issues.apache.org/jira/browse/TAPESTRY-419

I use the implementation represented by the patches by making it a service in my hivemodule
and using it where i need it instead of the infrastructure version. I have to make it a new
service because its interface has more methods than the standard CookieSOurce. If you just
want the default behavior to set the max age differently you could extend the CookieSourceImpl
and override the appropriate method and then set that implementation in your hivemodule using

> CookieSourceImpl.writeCookieValue sets non-persistent (session) cookies
> -----------------------------------------------------------------------
>          Key: TAPESTRY-571
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-571
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: tapestry 4.0-b4 under resin-pro-3.0.9 (servlet 2.4) inside eclipse 3.1;
jdk 1.5.0_04 on Win XP
>     Reporter: Yoritaka Sakakura
>     Priority: Minor

> According to the javadoc for CookieSource, writeCookieValue should store a persistent
cookie with no timeout. CookieSourceImpl[51] writes a cookie with default max-age (-1), which
is session lifetime.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org

View raw message