Difference between revisions of "Cookies"

From Dreamwidth Notes
Jump to: navigation, search
(Got some questions about this, so we shall document the heck away.)
 
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
This is a work in progress.
 
This is a work in progress.
 +
 +
{| class="wikitable"
 +
! Domain
 +
! Cookie Name
 +
! Cookie Contents
 +
! What/Why
 +
|-
 +
|.dreamwidth.org
 +
|BMLschemepref
 +
|name of preferred sitescheme
 +
(e.g. "tropo-red")
 +
|to allow choice of sitescheme while logged out
 +
|-
 +
|.dreamwidth.org
 +
|langpref
 +
|name of preferred language
 +
(e.g. "en")
 +
|[obsolete] set by BML::set_language
 +
|-
 +
|.dreamwidth.org
 +
|ljloggedin
 +
|combination of userid & sessionid
 +
|see LJ::Session->loggedin_cookie_string
 +
|-
 +
|.dreamwidth.org
 +
|ljuniq
 +
|persistent unique ID associated with device/browser
 +
|see LJ/UniqCookie.pm
 +
|-
 +
|.dreamwidth.org
 +
|no_mobile
 +
|set to opt out of mobile view
 +
|see DW/Setting/MobileView.pm
 +
|-
 +
|.www.dreamwidth.org
 +
|ljmastersession
 +
|combination of userid, sessionid, & auth
 +
|see LJ::Session->master_cookie_string
 +
|-
 +
|<username>.dreamwidth.org
 +
|ljdomsess.<username>
 +
|info for session on given user's subdomain
 +
|see LJ::Session->domain_cookie
 +
|-
 +
|.dreamwidth.org
 +
|__cfduid
 +
|hex string
 +
|Probably CloudFlare
 +
|-
 +
|.dreamwidth.org
 +
|__utma
 +
|from Google Analytics
 +
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 +
|-
 +
|.dreamwidth.org
 +
|__utmz
 +
|from Google Analytics
 +
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 +
|-
 +
|<username>.dreamwidth.org
 +
|__utma
 +
|from Google Analytics
 +
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 +
|-
 +
|<username>.dreamwidth.org
 +
|__utmz
 +
|from Google Analytics
 +
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 +
|-
 +
|}
 +
 +
Viewing preferences are saved both in the settings and in cookies, and while logged in, the logged-in settings win. (From <dwstaff>Fu</dwstaff> in #dreamwidth_dev 11 Oct 2011)
 +
 +
[[Category: Development]]

Latest revision as of 21:17, 28 July 2020

Dreamwidth sets cookies in visitors' browsers. This is a list of the cookies that are set, why they are set, and what they do.

This is a work in progress.

Domain Cookie Name Cookie Contents What/Why
.dreamwidth.org BMLschemepref name of preferred sitescheme

(e.g. "tropo-red")

to allow choice of sitescheme while logged out
.dreamwidth.org langpref name of preferred language

(e.g. "en")

[obsolete] set by BML::set_language
.dreamwidth.org ljloggedin combination of userid & sessionid see LJ::Session->loggedin_cookie_string
.dreamwidth.org ljuniq persistent unique ID associated with device/browser see LJ/UniqCookie.pm
.dreamwidth.org no_mobile set to opt out of mobile view see DW/Setting/MobileView.pm
.www.dreamwidth.org ljmastersession combination of userid, sessionid, & auth see LJ::Session->master_cookie_string
<username>.dreamwidth.org ljdomsess.<username> info for session on given user's subdomain see LJ::Session->domain_cookie
.dreamwidth.org __cfduid hex string Probably CloudFlare
.dreamwidth.org __utma from Google Analytics more info
.dreamwidth.org __utmz from Google Analytics more info
<username>.dreamwidth.org __utma from Google Analytics more info
<username>.dreamwidth.org __utmz from Google Analytics more info

Viewing preferences are saved both in the settings and in cookies, and while logged in, the logged-in settings win. (From [info]Fu in #dreamwidth_dev 11 Oct 2011)