There's no need to modify the Tapestry source:
e.g.
Cookie cookie = new Cookie("myname", "myvalue");
cookie.setSecure(true);
cycle.getRequestContext().addCookie(cookie);

Paul

[EMAIL PROTECTED] wrote:

only way to make cookies secure in Tapestry is to modify source ?

public void addCookie(Cookie cookie)
   {
       if (LOG.isDebugEnabled())
           LOG.debug("Adding cookie " + cookie);

// Is this the only way ? cookie.setSecure(true);

       _response.addCookie(cookie);

       if (_cookieMap == null)
           readCookieMap();

_cookieMap.put(cookie.getName(), cookie);
}




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



Reply via email to