Hi there, In order to facilitate the support of P3P, a W3C standard, we could add a specific extension to Restlet. I've entered a RFE:
"Support P3P policies" http://restlet.tigris.org/issues/show_bug.cgi?id=1039 Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -----Message d'origine----- De : pegpeg [mailto:[email protected]] Envoyé : mercredi 13 janvier 2010 11:00 À : [email protected] Objet : Re: cookie setting with safari browser hi, that works now with IE6, IE7, IE8, last Safari4 and FF , what I've done is the following: <code> // NB: version 0 for IE6 compatibility - confirmed // NB: domain for IE8 - nearly confirmed (tested with P3P header) CookieSetting cookie = new CookieSetting(0, getAuthCookieName(),sessionToken, "/", getDomainName()); //cookie.setMaxAge(3600); // NB: max-age commented for Safari - not absolutely sure getResponse().getCookieSettings().add(cookie); // NB: P3P header for Iframe and IE Form responseHeaders = (Form) getResponse().getAttributes().get("org.restlet.http.headers"); if (responseHeaders == null) { responseHeaders = new Form(); getResponse().getAttributes().put("org.restlet.http.headers", responseHeaders); } responseHeaders.add("P3P:CP", "\"NOI DSP COR NID ADM DEV PSA OUR IND UNI PUR COM NAV INT STA\""); </code> -- View this message in context: http://n2.nabble.com/cookie-setting-with-safari-browser-tp4271441p4337372.ht ml Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24369 72 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2448291

