Re: how to set cookie domain?

2011-02-02 Thread Pepijn de Geus
Cookie itself can handle that: Cookie#setDomain(String). For session cookies, you can use the sun-web.xml, at least in GlassFish: http://download.oracle.com/docs/cd/E19776-01/820-4502/6nfvbc8id/index.html On 2 feb 2011, at 04:38, Paolo wrote: Hi, I want add a cookie, and I saw on this site,

how to set cookie domain?

2011-02-01 Thread Paolo
Hi, I want add a cookie, and I saw on this site, how to do this. https://cwiki.apache.org/WICKET/dealing-with-cookies.html ((WebResponse)RequestCycle.get().getResponse()).addCookie(new Cookie(cookieName, cookieValue)); but I need to specify also the domanin. I need something like this PHP

How to set cookie domain?

2011-02-01 Thread Paolo
Hi, I want add a cookie, and I saw on this site, how to do this. https://cwiki.apache.org/WICKET/dealing-with-cookies.html ((WebResponse)RequestCycle.get().getResponse()).addCookie(new Cookie(cookieName, cookieValue)); but I need to specify also the domanin. I need something like this PHP