Difference between revisions of "Cookies"

From Dreamwidth Notes
Jump to: navigation, search
m (Google Analytics info)
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
This is a work in progress.
 
This is a work in progress.
  
{|
+
{| class="wikitable"
 
! Domain
 
! Domain
 
! Cookie Name
 
! Cookie Name
Line 11: Line 11:
 
|dreamwidth.org
 
|dreamwidth.org
 
|BMLschemepref
 
|BMLschemepref
|
+
|name of preferred sitescheme
|
+
(e.g. "tropo-red")
 +
|to allow choice of sitescheme while logged out
 
|-
 
|-
 
|dreamwidth.org
 
|dreamwidth.org
 
|langpref
 
|langpref
|
+
|name of preferred language
|
+
(e.g. "en")
 +
|[obsolete] set by BML::set_language
 
|-
 
|-
 
|dreamwidth.org
 
|dreamwidth.org
 
|ljloggedin
 
|ljloggedin
|
+
|combination of userid & sessionid
|
+
|see LJ::Session->loggedin_cookie_string
 
|-
 
|-
 
|dreamwidth.org
 
|dreamwidth.org
 
|ljuniq
 
|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
 
|dreamwidth.org
 
|__utma
 
|__utma
|
+
|from Google Analytics
|
+
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 
|-
 
|-
 
|dreamwidth.org
 
|dreamwidth.org
 
|__utmz
 
|__utmz
|
+
|from Google Analytics
|
+
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 
|-
 
|-
 
|<username>.dreamwidth.org
 
|<username>.dreamwidth.org
 
|__utma
 
|__utma
|
+
|from Google Analytics
|
+
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 
|-
 
|-
 
|<username>.dreamwidth.org
 
|<username>.dreamwidth.org
 
|__utmz
 
|__utmz
|
+
|from Google Analytics
|
+
|[https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage more info]
 
|-
 
|-
 
|}
 
|}

Revision as of 19:37, 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 __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)