You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2008/02/14 13:20:48 UTC

T5: cookies and expire check

hi,

I use this to get cookies, it works, but how to check if cookie has expired?

  String logCookie =  cookies.readCookieValue(logKey);

Thanks,

a.c
-- 
View this message in context: http://www.nabble.com/T5%3A-cookies-and-expire-check-tp15479307p15479307.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: T5: cookies and expire check

Posted by Igor Drobiazko <ig...@gmail.com>.
It looks like the only one possibility to use the service CookieSource
instead of Cookies.
which provides you the access to javax.servlet.http.Cookie

On Thu, Feb 14, 2008 at 1:20 PM, Angelo Chen <an...@yahoo.com.hk>
wrote:

>
> hi,
>
> I use this to get cookies, it works, but how to check if cookie has
> expired?
>
>  String logCookie =  cookies.readCookieValue(logKey);
>
> Thanks,
>
> a.c
> --
> View this message in context:
> http://www.nabble.com/T5%3A-cookies-and-expire-check-tp15479307p15479307.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko