Difference between revisions of "Cookies"

From Dreamwidth Notes
Jump to: navigation, search
(add some descriptions and formatting)
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
 +
|ljmastersession
 +
|combination of userid, sessionid, & auth
 +
|see LJ::Session->master_cookie_string
 
|-
 
|-
 
|dreamwidth.org
 
|dreamwidth.org
 
|ljuniq
 
|ljuniq
|
+
|persistent unique ID associated with device/browser
|
+
|see LJ/UniqCookie.pm
 
|-
 
|-
 
|dreamwidth.org
 
|dreamwidth.org

Revision as of 19: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 ljmastersession combination of userid, sessionid, & auth see LJ::Session->master_cookie_string
dreamwidth.org ljuniq persistent unique ID associated with device/browser see LJ/UniqCookie.pm
dreamwidth.org __utma
dreamwidth.org __utmz
<username>.dreamwidth.org __utma
<username>.dreamwidth.org __utmz

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)