Forum OpenACS Development: Re: Allow Host Node Mapped Host Names for Cookies
When trying to set up independent looking host-node-mapped subsites, it might be useful to different cookie names, e.g. using a cookie suffix derived from host-node-map entry.
Sample problem case: Imaging a server foo.some-domain.com and another server bar.some-domain.com. and "foo" sets the cookie domain (and provides domain cookies), a request to "bar" (which has no cookie domain set) will receive the domain cookie from "foo" and the non-domain cookies, leading to actually two session cookies, login-cookies etc.. this can lead to strange behavior, hard to debug.
Thanks, I think I need to learn more about how this works and get some more information about how this should be set for a specific installation.
Can you clarify your example?
Are foo. and bar. served by the same Naviserver instance or are they separate sites?