You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Yoritaka Sakakura (JIRA)" <ta...@jakarta.apache.org> on 2005/08/18 00:56:54 UTC

[jira] Created: (TAPESTRY-571) CookieSourceImpl.writeCookieValue sets non-persistent (session) cookies

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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TAPESTRY-571) CookieSourceImpl.writeCookieValue sets non-persistent (session) cookies

Posted by "Eli Doran (JIRA)" <ta...@jakarta.apache.org>.
    [ 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 <implementation>.

> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (TAPESTRY-571) CookieSource service stores only session cookies (despite documentation) and provides no way to store a persistent cookie

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-571?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-571:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed
      Assign To: Howard M. Lewis Ship

> CookieSource service stores only session cookies (despite documentation) and provides no way to store a persistent cookie
> -------------------------------------------------------------------------------------------------------------------------
>
>          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
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (TAPESTRY-571) CookieSource service stores only session cookies (despite documentation) and provides no way to store a persistent cookie

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-571?page=all ]

Howard M. Lewis Ship updated TAPESTRY-571:
------------------------------------------

     Summary: CookieSource service stores only session cookies (despite documentation) and provides no way to store a persistent cookie  (was: CookieSourceImpl.writeCookieValue sets non-persistent (session) cookies)
    Priority: Major  (was: Minor)

> CookieSource service stores only session cookies (despite documentation) and provides no way to store a persistent cookie
> -------------------------------------------------------------------------------------------------------------------------
>
>          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

>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TAPESTRY-571) CookieSourceImpl.writeCookieValue sets non-persistent (session) cookies

Posted by "Wouter de Vaal (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-571?page=comments#action_12329562 ] 

Wouter de Vaal commented on TAPESTRY-571:
-----------------------------------------

It would be nice if this would be solved. Cookies are useless now. Is there a workaround in the meantime?


> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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