21
Bug Reports / Re: PhpSessionId & Cookies
Last post by Spuds -- Neither Local nor Global is checked: Standard single domain or single subdomain forums (forum.example.com or example.com). This generally should maximize compatibility while preventing subdomain cross talk / cookie leakage. This is how this site is setup.
- Enable Local Cookies (localCookies) checked: Multiple distinct forum/app installations sharing the exact same hostname and path (e.g., example.com/forum1 vs example.com/forum2). Scopes cookies strictly to the subfolder, and disables login persistence in parent directories.
- Enable Global Cookies (globalCookies) checked: A single login required across different subdomains (e.g., sharing login between forum.example.com and www.example.com). Allows subdomain session sharing, but requires proper domain scope entry in the "Main domain used for subdomain" (globalCookiesDomain) to avoid conflicts. I will note that if not filled in, ElkArte will set a default one (like .example.com) however it will fail to this correctly if the domain contains a ccTLD such as .sch.my, .co.uk, or .com.au