I understand that the current CookieSource service doesn't yet allow you to set the expiration for a cookie you create. Unfortunately, in Firefox this means that cookies are only valid for the current session (it seems to defaults to session scope if no expiration is given).

So, I'd like to access the raw Cookie class from javax.servlet and create/write the cookie myself until the issue with CookieSource is fixed. Question: what's the correct Tap4 way of accessing the HttpServletResponse during render and in my listener? I tried going through getRequestCycle().getRequestContext().getResponse(), but it looks like getRequestContext() on IRequestCycle is deprecated. Frustratingly, the deprecation comment in the source doesn't say anything about the right way to access this in Tap4.

Any help would be much appreciated!

Dustin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to