Skip to content

config cookiedomain

Violet edited this page Nov 2, 2010 · 2 revisions

CookieDomain

Specifies the domain used when setting cookies via javascript. This config directive is typically used when the the Melody installation is a SingleCommunity.

Values

This optional value specifies a domain within which the cookie applies. Only websites in this domain will be able to retrieve the cookie. Usually this is left blank, meaning that only the domain that set the cookie (the domain of the published site) can retrieve it.

Example

To allow cookies for all sub-domains on movabletype.org the value is ".movabletype.org":

CookieDomain .movabletype.org
  • Categories: Appendix: Configuration Directives
  • Tags: authentication, community, config, cookie, domain
Clone this wiki locally