You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Richard Hill <ri...@su3analytics.com> on 2010/10/26 18:21:46 UTC

T5.1 Expiring a cookie at end of session (browser close)

Hi All,

Cookies that do not have an expiry time specified will be cleared by the
browser when it's closed.

How do I set a cookie in Tapestry that _doesn't_ have an expiry date
set?

According to the docs here:

http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/Cookies.html#writeCookieValue%28java.lang.String,%20java.lang.String%29

an expiry date will always be set, a default time-out being set if one
isn't explicitly set.

Thanks,

Richard.


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