Difference between revisions of "Cookies"

From Dreamwidth Notes
Jump to: navigation, search
m (add no_mobile)
m (add ljdomsess)
Line 40: Line 40:
 
|set to opt out of mobile view
 
|set to opt out of mobile view
 
|see DW/Setting/MobileView.pm
 
|see DW/Setting/MobileView.pm
 +
|-
 +
|<username>.dreamwidth.org
 +
|ljdomsess.<username>
 +
|info for session on given user's subdomain
 +
|see LJ::Session->domain_cookie
 
|-
 
|-
 
|dreamwidth.org
 
|dreamwidth.org

Revision as of 19:33, 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 no_mobile set to opt out of mobile view see DW/Setting/MobileView.pm
<username>.dreamwidth.org ljdomsess.<username> info for session on given user's subdomain see LJ::Session->domain_cookie
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)