CookieDomain

Specifies the domain used when setting cookies via javascript. This config directive is typically used when the the Movable Type 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
This page was last updated on 2009-06-26, 21:09.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.