cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philguillard <philguill...@gmail.com>
Subject cookie setDomain
Date Wed, 28 Dec 2005 12:22:37 GMT
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


Mime
View raw message