You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by philguillard <ph...@gmail.com> on 2005/12/28 13:22:37 UTC

cookie setDomain

Hi all,

Is there a way to remove "www." or the domain prefix from the session 
tracking cookie domain with some modification on the cocoon servlet?
 From now i tried to modify the HttpCookie class with a 
setDomain("mydomain.com") but this doesn't seem to have any effect.
On my browser, all cookies don't have the www. prefix on the domain 
value, but cookies from my coocon app have it.
I use http+tomcat, in case some ServerName directive or something could 
help too...
If not, is it possible to extend the addCookie or something with some 
javascript client on the browser?
(I absolutely need that feature to maintain session between subdomains 
that point to the same cocoon app..)

Regards,

Phil

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